home *** CD-ROM | disk | FTP | other *** search
/ La Bible Des... Jeux / La Bible des... Jeux.iso / Les Sharewares / Arcade / Knockoff / Knockoffaly < prev    next >
MacBinary  |  1995-11-04  |  357.3 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Knockoffaly

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, busy, Wed Dec 23 05:24:17 1992, modified Sat Nov 4 10:03:06 1995, creator HyperCard, type HyperCard stack, 125664 bytes "Knockoffaly" , at 0x1eb60 239980 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 4b 6e 6f 63 6b 6f | 66 66 61 6c 79 00 00 00 |..Knocko|ffaly...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 ea e0 00 | 03 a9 6c a7 5d ee d1 ac |........|..l.]...|
|00000060| c1 31 2a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.1*.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 3f 94 00 00 |........|....?...|
|00000080| 00 00 6c 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..l.STAK|........|
|00000090| 00 00 00 0a 00 01 ea e0 | 00 00 6c 00 00 00 00 00 |........|..l.....|
|000000a0| 00 00 00 00 00 00 00 02 | 00 00 0a 42 00 00 00 09 |........|...B....|
|000000b0| 00 00 1a 8e 00 00 19 43 | 00 00 00 00 00 00 00 00 |.......C|........|
|000000c0| 00 00 10 a1 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 30 80 00 | 02 30 80 00 02 30 80 00 |.....0..|.0...0..|
|000000f0| db aa 29 d1 00 00 00 00 | 00 f0 00 d0 02 46 02 d0 |..).....|.....F..|
|00000100| 00 00 00 00 02 70 03 40 | 00 00 00 00 00 00 00 00 |.....p.@|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 89 00 00 0c 0d | 01 56 02 00 00 00 00 00 |........|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 6f 70 65 6e 73 | 74 61 63 6b 0d 69 66 20 |on opens|tack.if |
|00000690| 77 72 6f 6e 67 73 74 61 | 63 6b 28 29 20 74 68 65 |wrongsta|ck() the|
|000006a0| 6e 20 70 61 73 73 20 6f | 70 65 6e 73 74 61 63 6b |n pass o|penstack|
|000006b0| 0d 70 72 65 70 61 72 65 | 44 61 74 61 0d 70 61 73 |.prepare|Data.pas|
|000006c0| 73 20 6f 70 65 6e 73 74 | 61 63 6b 0d 65 6e 64 20 |s openst|ack.end |
|000006d0| 6f 70 65 6e 73 74 61 63 | 6b 0d 0d 6f 6e 20 70 72 |openstac|k..on pr|
|000006e0| 65 70 61 72 65 44 61 74 | 61 0d 6c 6f 63 6b 20 73 |epareDat|a.lock s|
|000006f0| 63 72 65 65 6e 0d 68 69 | 64 65 20 74 69 74 6c 65 |creen.hi|de title|
|00000700| 62 61 72 0d 73 74 61 72 | 74 20 75 73 69 6e 67 20 |bar.star|t using |
|00000710| 73 74 61 63 6b 20 22 50 | 6c 61 74 79 70 75 73 20 |stack "P|latypus |
|00000720| 43 6f 6d 6d 6f 6e 22 0d | 69 66 20 74 68 65 20 72 |Common".|if the r|
|00000730| 65 73 75 6c 74 20 3c 3e | 20 22 22 20 74 68 65 6e |esult <>| "" then|
|00000740| 0d 61 6e 73 77 65 72 20 | 22 50 6c 61 74 79 70 75 |.answer |"Platypu|
|00000750| 73 20 43 6f 6d 6d 6f 6e | 20 73 74 61 63 6b 20 72 |s Common| stack r|
|00000760| 65 71 75 69 72 65 64 2e | 20 20 41 76 61 69 6c 61 |equired.| Availa|
|00000770| 62 6c 65 20 61 74 20 73 | 61 6d 65 20 73 6f 75 72 |ble at s|ame sour|
|00000780| 63 65 73 20 61 73 20 74 | 68 69 73 20 73 74 61 63 |ces as t|his stac|
|00000790| 6b 2e 22 20 c2 0d 26 20 | 22 20 50 6c 65 61 73 65 |k." ..& |" Please|
|000007a0| 20 67 65 74 20 69 74 20 | 61 6e 64 20 74 72 79 20 | get it |and try |
|000007b0| 61 67 61 69 6e 2e 22 0d | 74 79 70 65 20 22 51 22 |again.".|type "Q"|
|000007c0| 20 77 69 74 68 20 63 6f | 6d 6d 61 6e 64 6b 65 79 | with co|mmandkey|
|000007d0| 2c 6f 70 74 69 6f 6e 6b | 65 79 0d 65 78 69 74 20 |,optionk|ey.exit |
|000007e0| 74 6f 20 48 79 70 65 72 | 63 61 72 64 0d 65 6e 64 |to Hyper|card.end|
|000007f0| 20 69 66 0d 41 64 64 43 | 6f 6c 6f 72 20 49 6e 73 | if.AddC|olor Ins|
|00000800| 74 61 6c 6c 0d 73 74 61 | 72 74 20 75 73 69 6e 67 |tall.sta|rt using|
|00000810| 20 73 74 61 63 6b 20 22 | 4b 6e 6f 63 6b 58 22 0d | stack "|KnockX".|
|00000820| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 3c 3e |if the r|esult <>|
|00000830| 20 22 22 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 | "" then|.answer |
|00000840| 22 4b 6e 6f 63 6b 58 20 | 73 74 61 63 6b 20 72 65 |"KnockX |stack re|
|00000850| 71 75 69 72 65 64 2e 20 | 20 41 76 61 69 6c 61 62 |quired. | Availab|
|00000860| 6c 65 20 61 74 20 73 61 | 6d 65 20 73 6f 75 72 63 |le at sa|me sourc|
|00000870| 65 73 20 61 73 20 74 68 | 69 73 20 73 74 61 63 6b |es as th|is stack|
|00000880| 2e 22 20 c2 0d 26 20 22 | 20 50 6c 65 61 73 65 20 |." ..& "| Please |
|00000890| 67 65 74 20 69 74 20 61 | 6e 64 20 74 72 79 20 61 |get it a|nd try a|
|000008a0| 67 61 69 6e 2e 22 0d 74 | 79 70 65 20 22 51 22 20 |gain.".t|ype "Q" |
|000008b0| 77 69 74 68 20 63 6f 6d | 6d 61 6e 64 6b 65 79 2c |with com|mandkey,|
|000008c0| 6f 70 74 69 6f 6e 6b 65 | 79 0d 65 78 69 74 20 74 |optionke|y.exit t|
|000008d0| 6f 20 48 79 70 65 72 63 | 61 72 64 0d 65 6e 64 20 |o Hyperc|ard.end |
|000008e0| 69 66 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |if.if th|ere is a|
|000008f0| 20 73 74 61 63 6b 20 22 | 52 65 73 6f 75 72 63 65 | stack "|Resource|
|00000900| 20 53 74 61 63 6b 22 20 | 74 68 65 6e 0d 73 74 61 | Stack" |then.sta|
|00000910| 72 74 20 75 73 69 6e 67 | 20 73 74 61 63 6b 20 22 |rt using| stack "|
|00000920| 52 65 73 6f 75 72 63 65 | 20 53 74 61 63 6b 22 0d |Resource| Stack".|
|00000930| 65 6c 73 65 0d 61 6e 73 | 77 65 72 20 67 65 74 73 |else.ans|wer gets|
|00000940| 74 72 28 38 30 29 0d 65 | 78 69 74 20 74 6f 20 48 |tr(80).e|xit to H|
|00000950| 79 70 65 72 63 61 72 64 | 0d 65 6e 64 20 69 66 0d |ypercard|.end if.|
|00000960| 70 6c 61 79 63 20 22 45 | 6c 6c 69 65 20 54 68 65 |playc "E|llie The|
|00000970| 6d 65 22 0d 69 66 20 74 | 68 65 20 68 65 61 70 53 |me".if t|he heapS|
|00000980| 70 61 63 65 20 3c 20 32 | 30 30 30 30 30 30 20 74 |pace < 2|000000 t|
|00000990| 68 65 6e 0d 61 6e 73 77 | 65 72 20 67 65 74 73 74 |hen.answ|er getst|
|000009a0| 72 28 37 39 29 20 77 69 | 74 68 20 22 54 72 79 20 |r(79) wi|th "Try |
|000009b0| 61 6e 79 77 61 79 22 20 | 6f 72 20 22 45 78 69 74 |anyway" |or "Exit|
|000009c0| 22 0d 69 66 20 69 74 20 | 69 73 20 22 45 78 69 74 |".if it |is "Exit|
|000009d0| 22 20 74 68 65 6e 20 65 | 78 69 74 20 74 6f 20 48 |" then e|xit to H|
|000009e0| 79 70 65 72 63 61 72 64 | 0d 65 6e 64 20 69 66 0d |ypercard|.end if.|
|000009f0| 73 65 74 20 74 68 65 20 | 6c 6f 63 6b 6d 65 73 73 |set the |lockmess|
|00000a00| 61 67 65 73 20 74 6f 20 | 74 72 75 65 0d 73 65 74 |ages to |true.set|
|00000a10| 20 74 68 65 20 6c 6f 63 | 6b 73 63 72 65 65 6e 20 | the loc|kscreen |
|00000a20| 74 6f 20 74 72 75 65 0d | 67 6f 20 63 64 20 22 4d |to true.|go cd "M|
|00000a30| 61 69 6e 22 0d 73 65 74 | 47 6c 6f 62 61 6c 73 20 |ain".set|Globals |
|00000a40| 28 62 67 20 66 6c 64 20 | 22 44 65 66 61 75 6c 74 |(bg fld |"Default|
|00000a50| 73 22 29 0d 73 65 74 20 | 74 68 65 20 69 63 6f 6e |s").set |the icon|
|00000a60| 20 6f 66 20 63 64 20 62 | 74 6e 20 22 4d 65 6e 75 | of cd b|tn "Menu|
|00000a70| 20 54 6f 67 67 6c 65 22 | 20 74 6f 20 31 34 30 38 | Toggle"| to 1408|
|00000a80| 35 0d 67 6f 20 63 64 20 | 31 0d 67 6c 6f 62 61 6c |5.go cd |1.global|
|00000a90| 20 6f 75 74 65 72 52 65 | 63 74 2c 69 6e 6e 65 72 | outerRe|ct,inner|
|00000aa0| 52 65 63 74 2c 74 69 74 | 6c 65 52 65 63 74 2c 6b |Rect,tit|leRect,k|
|00000ab0| 79 73 0d 70 75 74 20 22 | 30 2c 30 2c 33 32 33 2c |ys.put "|0,0,323,|
|00000ac0| 33 32 33 22 20 69 6e 74 | 6f 20 6f 75 74 65 72 52 |323" int|o outerR|
|00000ad0| 65 63 74 0d 70 75 74 20 | 22 34 39 2c 34 39 2c 32 |ect.put |"49,49,2|
|00000ae0| 37 36 2c 32 37 36 22 20 | 69 6e 74 6f 20 69 6e 6e |76,276" |into inn|
|00000af0| 65 72 52 65 63 74 0d 70 | 75 74 20 22 34 39 2c 34 |erRect.p|ut "49,4|
|00000b00| 39 2c 32 37 34 2c 37 30 | 22 20 69 6e 74 6f 20 54 |9,274,70|" into T|
|00000b10| 69 74 6c 65 52 65 63 74 | 0d 70 75 74 20 22 38 33 |itleRect|.put "83|
|00000b20| 2c 38 34 2c 38 35 2c 38 | 36 2c 38 37 2c 38 38 2c |,84,85,8|6,87,88,|
|00000b30| 38 39 2c 39 31 22 20 69 | 6e 74 6f 20 6b 79 73 0d |89,91" i|nto kys.|
|00000b40| 67 6c 6f 62 61 6c 20 43 | 68 61 6e 63 65 0d 70 75 |global C|hance.pu|
|00000b50| 74 20 62 67 20 66 6c 64 | 20 22 43 68 61 6e 63 65 |t bg fld| "Chance|
|00000b60| 22 20 69 6e 74 6f 20 43 | 68 61 6e 63 65 0d 67 6c |" into C|hance.gl|
|00000b70| 6f 62 61 6c 20 4b 44 61 | 74 61 2c 4e 61 6d 65 73 |obal KDa|ta,Names|
|00000b80| 2c 4d 6f 6e 6f 70 73 2c | 53 74 72 69 6e 67 73 2c |,Monops,|Strings,|
|00000b90| 43 68 61 6e 63 65 44 65 | 73 63 2c 53 6f 75 6e 64 |ChanceDe|sc,Sound|
|00000ba0| 73 2c 69 63 6e 6f 73 2c | 43 6f 6c 6f 72 73 2c 62 |s,icnos,|Colors,b|
|00000bb0| 6f 61 72 64 66 69 6c 65 | 0d 70 75 74 20 62 67 20 |oardfile|.put bg |
|00000bc0| 66 6c 64 20 22 69 63 6e | 6f 73 22 20 69 6e 74 6f |fld "icn|os" into|
|00000bd0| 20 69 63 6e 6f 73 0d 70 | 75 74 20 62 67 20 66 6c | icnos.p|ut bg fl|
|00000be0| 64 20 22 4e 61 6d 65 73 | 22 20 69 6e 74 6f 20 4e |d "Names|" into N|
|00000bf0| 61 6d 65 73 0d 70 75 74 | 20 62 67 20 66 6c 64 20 |ames.put| bg fld |
|00000c00| 22 4b 44 61 74 61 22 20 | 69 6e 74 6f 20 4b 44 61 |"KData" |into KDa|
|00000c10| 74 61 0d 70 75 74 20 62 | 67 20 66 6c 64 20 22 4d |ta.put b|g fld "M|
|00000c20| 6f 6e 6f 70 73 22 20 69 | 6e 74 6f 20 4d 6f 6e 6f |onops" i|nto Mono|
|00000c30| 70 73 0d 70 75 74 20 62 | 67 20 66 6c 64 20 22 53 |ps.put b|g fld "S|
|00000c40| 74 72 69 6e 67 73 22 20 | 69 6e 74 6f 20 53 74 72 |trings" |into Str|
|00000c50| 69 6e 67 73 0d 70 75 74 | 20 62 67 20 66 6c 64 20 |ings.put| bg fld |
|00000c60| 22 43 68 61 6e 63 65 44 | 65 73 63 22 20 69 6e 74 |"ChanceD|esc" int|
|00000c70| 6f 20 43 68 61 6e 63 65 | 44 65 73 63 0d 70 75 74 |o Chance|Desc.put|
|00000c80| 20 62 67 20 66 6c 64 20 | 22 53 6f 75 6e 64 73 22 | bg fld |"Sounds"|
|00000c90| 20 69 6e 74 6f 20 53 6f | 75 6e 64 73 0d 70 75 74 | into So|unds.put|
|00000ca0| 20 62 67 20 66 6c 64 20 | 22 63 6f 6c 6f 72 73 22 | bg fld |"colors"|
|00000cb0| 20 69 6e 74 6f 20 43 6f | 6c 6f 72 73 0d 70 75 74 | into Co|lors.put|
|00000cc0| 20 62 67 20 66 6c 64 20 | 22 62 6f 61 72 64 66 69 | bg fld |"boardfi|
|00000cd0| 6c 65 22 20 69 6e 74 6f | 20 62 6f 61 72 64 66 69 |le" into| boardfi|
|00000ce0| 6c 65 0d 67 6c 6f 62 61 | 6c 20 67 6c 6f 62 6c 69 |le.globa|l globli|
|00000cf0| 73 74 0d 70 75 74 20 62 | 67 20 66 6c 64 20 22 67 |st.put b|g fld "g|
|00000d00| 6c 6f 62 6c 69 73 74 22 | 20 69 6e 74 6f 20 67 6c |loblist"| into gl|
|00000d10| 6f 62 6c 69 73 74 0d 67 | 6c 6f 62 61 6c 20 4b 4d |oblist.g|lobal KM|
|00000d20| 65 6e 75 2c 50 4d 65 6e | 75 0d 70 75 74 20 6c 69 |enu,PMen|u.put li|
|00000d30| 6e 65 20 31 20 6f 66 20 | 62 67 20 66 6c 64 20 22 |ne 1 of |bg fld "|
|00000d40| 4b 4d 65 6e 75 22 20 69 | 6e 74 6f 20 4b 4d 65 6e |KMenu" i|nto KMen|
|00000d50| 75 0d 70 75 74 20 6c 69 | 6e 65 20 31 20 6f 66 20 |u.put li|ne 1 of |
|00000d60| 62 67 20 66 6c 64 20 22 | 50 4d 65 6e 75 22 20 69 |bg fld "|PMenu" i|
|00000d70| 6e 74 6f 20 50 4d 65 6e | 75 0d 70 75 74 20 74 72 |nto PMen|u.put tr|
|00000d80| 75 65 20 69 6e 74 6f 20 | 73 75 4b 4f 0d 69 66 20 |ue into |suKO.if |
|00000d90| 4b 4d 65 6e 75 20 69 73 | 20 6e 6f 74 20 69 6e 20 |KMenu is| not in |
|00000da0| 74 68 65 20 6d 65 6e 75 | 73 20 74 68 65 6e 0d 63 |the menu|s then.c|
|00000db0| 72 65 61 74 65 20 6d 65 | 6e 75 20 4b 4d 65 6e 75 |reate me|nu KMenu|
|00000dc0| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|00000dd0| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 62 67 20 66 |of lines| of bg f|
|00000de0| 6c 64 20 22 4b 6d 65 6e | 75 22 20 69 6e 74 6f 20 |ld "Kmen|u" into |
|00000df0| 6d 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |m.repeat| with i |
|00000e00| 3d 20 32 20 74 6f 20 6d | 0d 70 75 74 20 6c 69 6e |= 2 to m|.put lin|
|00000e10| 65 20 69 20 6f 66 20 62 | 67 20 66 6c 64 20 22 4b |e i of b|g fld "K|
|00000e20| 6d 65 6e 75 22 20 69 6e | 74 6f 20 74 68 65 6c 69 |menu" in|to theli|
|00000e30| 6e 65 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |ne.put i|tem 1 of|
|00000e40| 20 74 68 65 4c 69 6e 65 | 20 61 66 74 65 72 20 20 | theLine| after |
|00000e50| 6d 65 6e 75 20 4b 4d 65 | 6e 75 0d 73 65 74 20 74 |menu KMe|nu.set t|
|00000e60| 68 65 20 6d 65 6e 75 4d | 73 67 20 6f 66 20 6d 65 |he menuM|sg of me|
|00000e70| 6e 75 49 74 65 6d 20 28 | 69 2d 31 29 20 6f 66 20 |nuItem (|i-1) of |
|00000e80| 6d 65 6e 75 20 4b 4d 65 | 6e 75 20 74 6f 20 69 74 |menu KMe|nu to it|
|00000e90| 65 6d 20 32 20 6f 66 20 | 74 68 65 4c 69 6e 65 0d |em 2 of |theLine.|
|00000ea0| 73 65 74 20 74 68 65 20 | 63 6d 64 63 68 61 72 20 |set the |cmdchar |
|00000eb0| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 28 69 2d 31 |of menuI|tem (i-1|
|00000ec0| 29 20 6f 66 20 6d 65 6e | 75 20 4b 4d 65 6e 75 20 |) of men|u KMenu |
|00000ed0| 74 6f 20 69 74 65 6d 20 | 33 20 6f 66 20 74 68 65 |to item |3 of the|
|00000ee0| 4c 69 6e 65 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |Line.end| repeat.|
|00000ef0| 64 69 73 61 62 6c 65 20 | 6d 65 6e 75 49 74 65 6d |disable |menuItem|
|00000f00| 20 36 20 6f 66 20 6d 65 | 6e 75 20 4b 4d 65 6e 75 | 6 of me|nu KMenu|
|00000f10| 0d 67 6c 6f 62 61 6c 20 | 45 6e 61 62 6c 65 54 72 |.global |EnableTr|
|00000f20| 61 64 65 73 0d 69 66 20 | 45 6e 61 62 6c 65 54 72 |ades.if |EnableTr|
|00000f30| 61 64 65 73 20 69 73 20 | 66 61 6c 73 65 20 74 68 |ades is |false th|
|00000f40| 65 6e 20 64 69 73 61 62 | 6c 65 20 6d 65 6e 75 49 |en disab|le menuI|
|00000f50| 74 65 6d 20 31 30 20 6f | 66 20 6d 65 6e 75 20 4b |tem 10 o|f menu K|
|00000f60| 4d 65 6e 75 0d 67 6c 6f | 62 61 6c 20 73 6e 64 4f |Menu.glo|bal sndO|
|00000f70| 6e 0d 70 75 74 20 63 64 | 20 66 6c 64 20 22 73 6e |n.put cd| fld "sn|
|00000f80| 64 22 20 6f 66 20 63 64 | 20 31 20 69 6e 74 6f 20 |d" of cd| 1 into |
|00000f90| 73 6e 64 4f 6e 0d 73 65 | 74 20 74 68 65 20 63 68 |sndOn.se|t the ch|
|00000fa0| 65 63 6b 6d 61 72 6b 20 | 6f 66 20 6d 65 6e 75 49 |eckmark |of menuI|
|00000fb0| 74 65 6d 20 33 20 6f 66 | 20 6d 65 6e 75 20 4b 4d |tem 3 of| menu KM|
|00000fc0| 65 6e 75 20 74 6f 20 73 | 6e 64 4f 6e 0d 70 75 74 |enu to s|ndOn.put|
|00000fd0| 20 22 41 62 6f 75 74 20 | 4b 6e 6f 63 6b 6f 66 66 | "About |Knockoff|
|00000fe0| 61 6c 79 22 20 69 6e 74 | 6f 20 6d 65 6e 75 49 74 |aly" int|o menuIt|
|00000ff0| 65 6d 20 31 20 6f 66 20 | 6d 65 6e 75 20 31 0d 73 |em 1 of |menu 1.s|
|00001000| 65 74 20 74 68 65 20 6d | 65 6e 75 6d 73 67 20 6f |et the m|enumsg o|
|00001010| 66 20 6d 65 6e 75 49 74 | 65 6d 20 31 20 6f 66 20 |f menuIt|em 1 of |
|00001020| 6d 65 6e 75 20 31 20 74 | 6f 20 22 4b 61 62 6f 75 |menu 1 t|o "Kabou|
|00001030| 74 22 0d 65 6e 64 20 69 | 66 0d 64 69 73 61 62 6c |t".end i|f.disabl|
|00001040| 65 20 6d 65 6e 75 20 4b | 4d 65 6e 75 0d 69 66 20 |e menu K|Menu.if |
|00001050| 50 4d 65 6e 75 20 69 73 | 20 6e 6f 74 20 69 6e 20 |PMenu is| not in |
|00001060| 74 68 65 20 6d 65 6e 75 | 73 20 74 68 65 6e 0d 63 |the menu|s then.c|
|00001070| 72 65 61 74 65 20 6d 65 | 6e 75 20 50 4d 65 6e 75 |reate me|nu PMenu|
|00001080| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|00001090| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 62 67 20 66 |of lines| of bg f|
|000010a0| 6c 64 20 22 50 6d 65 6e | 75 22 20 69 6e 74 6f 20 |ld "Pmen|u" into |
|000010b0| 6d 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |m.repeat| with i |
|000010c0| 3d 20 32 20 74 6f 20 6d | 0d 70 75 74 20 6c 69 6e |= 2 to m|.put lin|
|000010d0| 65 20 69 20 6f 66 20 62 | 67 20 66 6c 64 20 22 50 |e i of b|g fld "P|
|000010e0| 6d 65 6e 75 22 20 69 6e | 74 6f 20 74 68 65 6c 69 |menu" in|to theli|
|000010f0| 6e 65 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |ne.put i|tem 1 of|
|00001100| 20 74 68 65 4c 69 6e 65 | 20 61 66 74 65 72 20 20 | theLine| after |
|00001110| 6d 65 6e 75 20 50 4d 65 | 6e 75 0d 73 65 74 20 74 |menu PMe|nu.set t|
|00001120| 68 65 20 6d 65 6e 75 4d | 73 67 20 6f 66 20 6d 65 |he menuM|sg of me|
|00001130| 6e 75 49 74 65 6d 20 28 | 69 2d 31 29 20 6f 66 20 |nuItem (|i-1) of |
|00001140| 6d 65 6e 75 20 50 4d 65 | 6e 75 20 74 6f 20 69 74 |menu PMe|nu to it|
|00001150| 65 6d 20 32 20 6f 66 20 | 74 68 65 4c 69 6e 65 0d |em 2 of |theLine.|
|00001160| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|00001170| 66 0d 64 69 73 61 62 6c | 65 20 6d 65 6e 75 20 50 |f.disabl|e menu P|
|00001180| 4d 65 6e 75 0d 4b 6c 6f | 62 62 65 72 4d 65 6e 75 |Menu.Klo|bberMenu|
|00001190| 73 0d 67 6c 6f 62 61 6c | 20 42 57 0d 69 66 20 6d |s.global| BW.if m|
|000011a0| 61 78 44 65 70 74 68 28 | 29 20 3d 20 31 20 74 68 |axDepth(|) = 1 th|
|000011b0| 65 6e 0d 73 68 6f 77 20 | 63 64 20 70 69 63 74 0d |en.show |cd pict.|
|000011c0| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 42 57 |put true| into BW|
|000011d0| 0d 65 6c 73 65 0d 68 69 | 64 65 20 63 64 20 70 69 |.else.hi|de cd pi|
|000011e0| 63 74 0d 70 75 74 20 66 | 61 6c 73 65 20 69 6e 74 |ct.put f|alse int|
|000011f0| 6f 20 42 57 0d 65 6e 64 | 20 69 66 0d 67 6f 20 63 |o BW.end| if.go c|
|00001200| 64 20 22 4d 61 69 6e 22 | 0d 69 66 20 63 64 20 66 |d "Main"|.if cd f|
|00001210| 6c 64 20 22 6e 6f 74 44 | 65 66 61 75 6c 74 22 20 |ld "notD|efault" |
|00001220| 6f 66 20 63 64 20 31 20 | 69 73 20 74 72 75 65 20 |of cd 1 |is true |
|00001230| 74 68 65 6e 0d 75 70 64 | 61 74 65 44 65 65 64 73 |then.upd|ateDeeds|
|00001240| 0d 69 66 20 6e 6f 74 20 | 28 74 68 65 72 65 20 69 |.if not |(there i|
|00001250| 73 20 61 20 44 6f 63 75 | 6d 65 6e 74 20 62 6f 61 |s a Docu|ment boa|
|00001260| 72 64 66 69 6c 65 29 20 | 74 68 65 6e 0d 61 6e 73 |rdfile) |then.ans|
|00001270| 77 65 72 20 66 69 6c 65 | 20 22 57 68 65 72 65 20 |wer file| "Where |
|00001280| 69 73 20 22 26 62 6f 61 | 72 64 66 69 6c 65 26 22 |is "&boa|rdfile&"|
|00001290| 3f 22 20 6f 66 20 74 79 | 70 65 20 50 49 43 54 0d |?" of ty|pe PICT.|
|000012a0| 73 65 74 20 74 68 65 20 | 69 74 65 6d 64 65 6c 69 |set the |itemdeli|
|000012b0| 6d 69 74 65 72 20 74 6f | 20 22 3a 22 0d 69 66 20 |miter to| ":".if |
|000012c0| 6e 6f 74 20 28 69 74 20 | 69 73 20 22 43 61 6e 63 |not (it |is "Canc|
|000012d0| 65 6c 22 29 20 74 68 65 | 6e 20 70 75 74 20 74 68 |el") the|n put th|
|000012e0| 65 20 6c 61 73 74 20 69 | 74 65 6d 20 6f 66 20 69 |e last i|tem of i|
|000012f0| 74 20 69 6e 74 6f 20 62 | 6f 61 72 64 66 69 6c 65 |t into b|oardfile|
|00001300| 0d 70 75 74 20 74 68 65 | 20 6c 61 73 74 20 69 74 |.put the| last it|
|00001310| 65 6d 20 6f 66 20 69 74 | 20 69 6e 74 6f 20 62 67 |em of it| into bg|
|00001320| 20 66 6c 64 20 22 62 6f | 61 72 64 66 69 6c 65 22 | fld "bo|ardfile"|
|00001330| 0d 73 65 74 20 74 68 65 | 20 69 74 65 6d 44 65 6c |.set the| itemDel|
|00001340| 69 6d 69 74 65 72 20 74 | 6f 20 22 2c 22 0d 65 6e |imiter t|o ",".en|
|00001350| 64 20 69 66 0d 67 6f 20 | 63 64 20 22 4d 61 69 6e |d if.go |cd "Main|
|00001360| 22 0d 41 64 64 43 6f 6c | 6f 72 20 72 65 6d 6f 76 |".AddCol|or remov|
|00001370| 65 4f 62 6a 65 63 74 2c | 63 64 2c 31 0d 41 64 64 |eObject,|cd,1.Add|
|00001380| 43 6f 6c 6f 72 20 61 64 | 64 50 69 63 74 46 69 6c |Color ad|dPictFil|
|00001390| 65 2c 63 64 2c 62 6f 61 | 72 64 66 69 6c 65 2c 22 |e,cd,boa|rdfile,"|
|000013a0| 30 2c 30 22 2c 74 2c 30 | 0d 67 6c 6f 62 61 6c 20 |0,0",t,0|.global |
|000013b0| 62 65 67 74 6f 6b 0d 72 | 65 70 65 61 74 20 77 69 |begtok.r|epeat wi|
|000013c0| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 38 0d 73 65 |th i = 1| to 8.se|
|000013d0| 74 20 74 68 65 20 69 63 | 6f 6e 20 6f 66 20 63 64 |t the ic|on of cd|
|000013e0| 20 62 74 6e 20 28 62 65 | 67 74 6f 6b 2b 69 2d 31 | btn (be|gtok+i-1|
|000013f0| 29 20 74 6f 20 6c 69 6e | 65 20 69 20 6f 66 20 69 |) to lin|e i of i|
|00001400| 63 6e 6f 73 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |cnos.end| repeat.|
|00001410| 67 6f 20 62 61 63 6b 0d | 65 6e 64 20 69 66 0d 67 |go back.|end if.g|
|00001420| 6f 20 62 61 63 6b 0d 70 | 75 74 20 66 61 6c 73 65 |o back.p|ut false|
|00001430| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 22 6e 6f | into cd| fld "no|
|00001440| 74 44 65 66 61 75 6c 74 | 22 20 6f 66 20 63 64 20 |tDefault|" of cd |
|00001450| 31 0d 73 65 74 20 74 68 | 65 20 6c 6f 63 6b 6d 65 |1.set th|e lockme|
|00001460| 73 73 61 67 65 73 20 74 | 6f 20 66 61 6c 73 65 0d |ssages t|o false.|
|00001470| 73 65 74 20 74 68 65 20 | 6c 6f 63 6b 73 63 72 65 |set the |lockscre|
|00001480| 65 6e 20 74 6f 20 66 61 | 6c 73 65 0d 65 6e 64 20 |en to fa|lse.end |
|00001490| 70 72 65 70 61 72 65 44 | 61 74 61 0d 0d 0d 6f 6e |prepareD|ata...on|
|000014a0| 20 63 6c 65 61 6e 45 78 | 69 74 20 66 0d 67 6c 6f | cleanEx|it f.glo|
|000014b0| 62 61 6c 20 64 69 72 74 | 79 2c 6e 6d 2c 63 6f 64 |bal dirt|y,nm,cod|
|000014c0| 0d 69 66 20 28 64 69 72 | 74 79 20 69 73 20 74 72 |.if (dir|ty is tr|
|000014d0| 75 65 29 20 61 6e 64 20 | 28 66 20 69 73 20 65 6d |ue) and |(f is em|
|000014e0| 70 74 79 29 20 61 6e 64 | 20 28 63 68 65 63 6b 52 |pty) and| (checkR|
|000014f0| 65 67 28 6e 6d 2c 63 6f | 64 2c 22 4b 6e 6f 63 6b |eg(nm,co|d,"Knock|
|00001500| 6f 66 66 61 6c 79 22 29 | 29 20 74 68 65 6e 0d 61 |offaly")|) then.a|
|00001510| 6e 73 77 65 72 20 67 65 | 74 73 74 72 28 38 31 29 |nswer ge|tstr(81)|
|00001520| 20 77 69 74 68 20 22 43 | 61 6e 63 65 6c 22 20 6f | with "C|ancel" o|
|00001530| 72 20 22 4e 6f 22 20 6f | 72 20 22 59 65 73 22 0d |r "No" o|r "Yes".|
|00001540| 69 66 20 69 74 20 69 73 | 20 22 43 61 6e 63 65 6c |if it is| "Cancel|
|00001550| 22 20 74 68 65 6e 20 65 | 78 69 74 20 63 6c 65 61 |" then e|xit clea|
|00001560| 6e 45 78 69 74 0d 69 66 | 20 69 74 20 69 73 20 22 |nExit.if| it is "|
|00001570| 59 65 73 22 20 74 68 65 | 6e 20 73 61 76 65 0d 65 |Yes" the|n save.e|
|00001580| 6e 64 20 69 66 0d 69 66 | 20 66 20 69 73 20 65 6d |nd if.if| f is em|
|00001590| 70 74 79 20 74 68 65 6e | 0d 61 6e 73 77 65 72 20 |pty then|.answer |
|000015a0| 67 65 74 73 74 72 28 34 | 36 29 20 77 69 74 68 20 |getstr(4|6) with |
|000015b0| 22 48 6f 6d 65 22 20 6f | 72 20 22 46 69 6e 64 65 |"Home" o|r "Finde|
|000015c0| 72 22 20 6f 72 20 22 43 | 61 6e 63 65 6c 22 0d 65 |r" or "C|ancel".e|
|000015d0| 6c 73 65 0d 70 75 74 20 | 66 20 69 6e 74 6f 20 69 |lse.put |f into i|
|000015e0| 74 0d 65 6e 64 20 69 66 | 0d 69 66 20 69 74 20 69 |t.end if|.if it i|
|000015f0| 73 20 22 43 61 6e 63 65 | 6c 22 20 74 68 65 6e 20 |s "Cance|l" then |
|00001600| 65 78 69 74 20 63 6c 65 | 61 6e 45 78 69 74 0d 69 |exit cle|anExit.i|
|00001610| 66 20 69 74 20 69 73 20 | 22 46 69 6e 64 65 72 22 |f it is |"Finder"|
|00001620| 20 74 68 65 6e 20 64 6f | 4d 65 6e 75 20 22 51 75 | then do|Menu "Qu|
|00001630| 69 74 20 48 79 70 65 72 | 63 61 72 64 22 0d 70 75 |it Hyper|card".pu|
|00001640| 74 20 22 42 6f 7a 6f 62 | 6f 61 72 64 22 20 69 6e |t "Bozob|oard" in|
|00001650| 74 6f 20 62 67 20 66 6c | 64 20 22 62 6f 61 72 64 |to bg fl|d "board|
|00001660| 66 69 6c 65 22 0d 64 6f | 4d 65 6e 75 20 22 48 6f |file".do|Menu "Ho|
|00001670| 6d 65 22 0d 65 6e 64 20 | 63 6c 65 61 6e 45 78 69 |me".end |cleanExi|
|00001680| 74 0d 0d 6f 6e 20 4b 41 | 62 6f 75 74 0d 67 65 74 |t..on KA|bout.get|
|00001690| 20 77 69 6e 64 6f 77 53 | 63 72 69 70 74 20 28 22 | windowS|cript ("|
|000016a0| 50 6c 61 74 79 53 70 6c | 61 73 68 22 29 0d 65 6e |PlatySpl|ash").en|
|000016b0| 64 20 4b 41 62 6f 75 74 | 0d 0d 6f 6e 20 44 69 73 |d KAbout|..on Dis|
|000016c0| 70 6c 61 79 52 65 63 74 | 20 70 72 6f 70 2c 74 68 |playRect| prop,th|
|000016d0| 65 52 65 63 74 0d 67 6c | 6f 62 61 6c 20 42 57 2c |eRect.gl|obal BW,|
|000016e0| 43 6f 6c 6f 72 73 0d 69 | 66 20 42 57 20 69 73 20 |Colors.i|f BW is |
|000016f0| 74 72 75 65 20 74 68 65 | 6e 20 65 78 69 74 20 44 |true the|n exit D|
|00001700| 69 73 70 6c 61 79 52 65 | 63 74 0d 67 6c 6f 62 61 |isplayRe|ct.globa|
|00001710| 6c 20 4d 6f 6e 6f 70 2c | 4b 44 61 74 61 0d 70 75 |l Monop,|KData.pu|
|00001720| 74 20 69 74 65 6d 20 4d | 6f 6e 6f 70 20 6f 66 20 |t item M|onop of |
|00001730| 6c 69 6e 65 20 70 72 6f | 70 20 6f 66 20 4b 44 61 |line pro|p of KDa|
|00001740| 74 61 20 69 6e 74 6f 20 | 6d 0d 70 75 74 20 6c 69 |ta into |m.put li|
|00001750| 6e 65 20 6d 20 6f 66 20 | 43 6f 6c 6f 72 73 20 69 |ne m of |Colors i|
|00001760| 6e 74 6f 20 74 68 65 43 | 6f 6c 6f 72 0d 41 64 64 |nto theC|olor.Add|
|00001770| 63 6f 6c 6f 72 20 63 6f | 6c 6f 72 52 65 63 74 2c |color co|lorRect,|
|00001780| 63 64 2c 74 68 65 52 65 | 63 74 2c 74 68 65 43 6f |cd,theRe|ct,theCo|
|00001790| 6c 6f 72 2c 31 0d 65 6e | 64 20 44 69 73 70 6c 61 |lor,1.en|d Displa|
|000017a0| 79 52 65 63 74 0d 0d 6f | 6e 20 73 75 73 70 65 6e |yRect..o|n suspen|
|000017b0| 64 53 74 61 63 6b 0d 69 | 66 20 77 72 6f 6e 67 73 |dStack.i|f wrongs|
|000017c0| 74 61 63 6b 28 29 20 74 | 68 65 6e 20 70 61 73 73 |tack() t|hen pass|
|000017d0| 20 73 75 73 70 65 6e 64 | 73 74 61 63 6b 0d 72 65 | suspend|stack.re|
|000017e0| 73 65 74 20 6d 65 6e 75 | 62 61 72 0d 70 61 73 73 |set menu|bar.pass|
|000017f0| 20 73 75 73 70 65 6e 64 | 73 74 61 63 6b 0d 65 6e | suspend|stack.en|
|00001800| 64 20 73 75 73 70 65 6e | 64 73 74 61 63 6b 0d 0d |d suspen|dstack..|
|00001810| 6f 6e 20 72 65 73 75 6d | 65 73 74 61 63 6b 0d 69 |on resum|estack.i|
|00001820| 66 20 77 72 6f 6e 67 73 | 74 61 63 6b 28 29 20 74 |f wrongs|tack() t|
|00001830| 68 65 6e 20 70 61 73 73 | 20 72 65 73 75 6d 65 73 |hen pass| resumes|
|00001840| 74 61 63 6b 0d 70 72 65 | 70 61 72 65 44 61 74 61 |tack.pre|pareData|
|00001850| 0d 70 61 73 73 20 72 65 | 73 75 6d 65 73 74 61 63 |.pass re|sumestac|
|00001860| 6b 0d 65 6e 64 20 72 65 | 73 75 6d 65 73 74 61 63 |k.end re|sumestac|
|00001870| 6b 0d 0d 6f 6e 20 72 65 | 76 65 72 73 65 4d 6f 72 |k..on re|verseMor|
|00001880| 74 73 0d 67 6c 6f 62 61 | 6c 20 4d 6f 72 74 4c 69 |ts.globa|l MortLi|
|00001890| 73 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6b |st.repea|t with k|
|000018a0| 20 3d 20 31 20 74 6f 20 | 28 74 68 65 20 6e 75 6d | = 1 to |(the num|
|000018b0| 62 65 72 20 6f 66 20 77 | 6f 72 64 73 20 6f 66 20 |ber of w|ords of |
|000018c0| 4d 6f 72 74 4c 69 73 74 | 29 0d 69 6e 76 65 72 74 |MortList|).invert|
|000018d0| 53 71 75 61 72 65 20 28 | 77 6f 72 64 20 6b 20 6f |Square (|word k o|
|000018e0| 66 20 4d 6f 72 74 4c 69 | 73 74 29 0d 65 6e 64 20 |f MortLi|st).end |
|000018f0| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 76 65 72 |repeat.e|nd rever|
|00001900| 73 65 4d 6f 72 74 73 0d | 0d 6f 6e 20 43 6c 65 61 |seMorts.|.on Clea|
|00001910| 6e 42 6f 61 72 64 0d 67 | 6f 20 63 64 20 22 4d 61 |nBoard.g|o cd "Ma|
|00001920| 69 6e 22 0d 73 65 6e 64 | 20 6d 6f 75 73 65 55 70 |in".send| mouseUp|
|00001930| 20 74 6f 20 63 64 20 66 | 6c 64 20 22 54 69 74 6c | to cd f|ld "Titl|
|00001940| 65 22 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |e".unloc|k screen|
|00001950| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 63 64 20 |.put "" |into cd |
|00001960| 66 6c 64 20 22 73 74 61 | 74 75 73 6c 69 6e 65 22 |fld "sta|tusline"|
|00001970| 0d 67 6c 6f 62 61 6c 20 | 72 62 61 73 65 2c 62 65 |.global |rbase,be|
|00001980| 67 74 6f 6b 2c 4d 6f 72 | 74 4c 69 73 74 0d 72 65 |gtok,Mor|tList.re|
|00001990| 76 65 72 73 65 4d 6f 72 | 74 73 0d 70 75 74 20 22 |verseMor|ts.put "|
|000019a0| 22 20 69 6e 74 6f 20 4d | 6f 72 74 4c 69 73 74 0d |" into M|ortList.|
|000019b0| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 72 65 70 65 |lock scr|een.repe|
|000019c0| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|000019d0| 20 34 30 0d 69 66 20 74 | 68 65 20 73 6f 75 6e 64 | 40.if t|he sound|
|000019e0| 20 69 73 20 64 6f 6e 65 | 20 74 68 65 6e 20 70 6c | is done| then pl|
|000019f0| 61 79 63 20 22 45 6c 6c | 69 65 20 54 68 65 6d 65 |ayc "Ell|ie Theme|
|00001a00| 22 0d 69 66 20 28 53 51 | 54 79 70 65 28 69 29 20 |".if (SQ|Type(i) |
|00001a10| 3c 3e 20 22 46 61 74 65 | 22 29 20 61 6e 64 20 28 |<> "Fate|") and (|
|00001a20| 53 51 54 79 70 65 28 69 | 29 20 3c 3e 20 22 53 70 |SQType(i|) <> "Sp|
|00001a30| 65 63 69 61 6c 22 29 20 | 74 68 65 6e 0d 70 75 74 |ecial") |then.put|
|00001a40| 20 6c 69 6e 65 20 31 31 | 20 6f 66 20 63 64 20 66 | line 11| of cd f|
|00001a50| 6c 64 20 22 47 65 6e 65 | 72 69 63 43 6f 6c 6f 72 |ld "Gene|ricColor|
|00001a60| 22 20 69 6e 74 6f 20 6c | 69 6e 65 20 31 31 20 6f |" into l|ine 11 o|
|00001a70| 66 20 63 64 20 66 6c 64 | 20 28 22 54 69 74 6c 65 |f cd fld| ("Title|
|00001a80| 22 26 69 29 0d 65 6e 64 | 20 69 66 0d 73 65 74 20 |"&i).end| if.set |
|00001a90| 74 68 65 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |the curs|or to bu|
|00001aa0| 73 79 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |sy.if th|ere is a|
|00001ab0| 20 63 64 20 62 74 6e 20 | 28 22 6c 22 26 69 29 20 | cd btn |("l"&i) |
|00001ac0| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 69 63 6f |then.set| the ico|
|00001ad0| 6e 20 6f 66 20 63 64 20 | 62 74 6e 20 28 22 6c 22 |n of cd |btn ("l"|
|00001ae0| 26 69 29 20 74 6f 20 30 | 0d 73 65 74 20 74 68 65 |&i) to 0|.set the|
|00001af0| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 64 20 62 74 | hilite |of cd bt|
|00001b00| 6e 20 28 22 6c 22 26 69 | 29 20 74 6f 20 66 61 6c |n ("l"&i|) to fal|
|00001b10| 73 65 0d 65 6e 64 20 69 | 66 0d 69 66 20 74 68 65 |se.end i|f.if the|
|00001b20| 72 65 20 69 73 20 61 20 | 63 64 20 62 74 6e 20 28 |re is a |cd btn (|
|00001b30| 22 68 22 26 69 29 20 74 | 68 65 6e 20 73 65 74 20 |"h"&i) t|hen set |
|00001b40| 74 68 65 20 69 63 6f 6e | 20 6f 66 20 63 64 20 62 |the icon| of cd b|
|00001b50| 74 6e 20 28 22 68 22 26 | 69 29 20 6f 66 20 63 64 |tn ("h"&|i) of cd|
|00001b60| 20 22 4d 61 69 6e 22 20 | 74 6f 20 30 0d 73 65 74 | "Main" |to 0.set|
|00001b70| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 63 | the hil|ite of c|
|00001b80| 64 20 62 74 6e 20 28 22 | 62 22 26 69 29 20 74 6f |d btn ("|b"&i) to|
|00001b90| 20 66 61 6c 73 65 0d 65 | 6e 64 20 72 65 70 65 61 | false.e|nd repea|
|00001ba0| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |t.repeat| with i |
|00001bb0| 3d 20 31 20 74 6f 20 38 | 0d 68 69 64 65 20 63 64 |= 1 to 8|.hide cd|
|00001bc0| 20 62 74 6e 20 28 72 62 | 61 73 65 2b 69 2d 31 29 | btn (rb|ase+i-1)|
|00001bd0| 0d 68 69 64 65 20 63 64 | 20 66 6c 64 20 28 22 61 |.hide cd| fld ("a|
|00001be0| 76 63 61 73 68 22 26 69 | 29 0d 73 65 74 20 74 68 |vcash"&i|).set th|
|00001bf0| 65 20 6e 61 6d 65 20 6f | 66 20 63 64 20 62 74 6e |e name o|f cd btn|
|00001c00| 20 28 62 65 67 74 6f 6b | 2b 69 2d 31 29 20 74 6f | (begtok|+i-1) to|
|00001c10| 20 22 74 6f 6b 65 6e 22 | 0d 68 69 64 65 20 63 64 | "token"|.hide cd|
|00001c20| 20 62 74 6e 20 28 62 65 | 67 74 6f 6b 2b 69 2d 31 | btn (be|gtok+i-1|
|00001c30| 29 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 75 6e 6c |).end re|peat.unl|
|00001c40| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 65 6e 64 20 63 |ock scre|en.end c|
|00001c50| 6c 65 61 6e 42 6f 61 72 | 64 0d 0d 6f 6e 20 63 6c |leanBoar|d..on cl|
|00001c60| 65 61 6e 49 74 0d 67 6c | 6f 62 61 6c 20 42 57 0d |eanIt.gl|obal BW.|
|00001c70| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 63 6c 65 61 |lock scr|een.clea|
|00001c80| 6e 42 6f 61 72 64 0d 72 | 65 73 65 74 20 6d 65 6e |nBoard.r|eset men|
|00001c90| 75 62 61 72 0d 41 64 64 | 43 6f 6c 6f 72 20 52 65 |ubar.Add|Color Re|
|00001ca0| 6d 6f 76 65 0d 73 74 6f | 70 20 75 73 69 6e 67 20 |move.sto|p using |
|00001cb0| 73 74 61 63 6b 20 22 4b | 6e 6f 63 6b 58 22 0d 73 |stack "K|nockX".s|
|00001cc0| 74 6f 70 20 75 73 69 6e | 67 20 73 74 61 63 6b 20 |top usin|g stack |
|00001cd0| 22 52 65 73 6f 75 72 63 | 65 20 53 74 61 63 6b 22 |"Resourc|e Stack"|
|00001ce0| 0d 69 66 20 74 68 65 20 | 63 61 6e 74 4d 6f 64 69 |.if the |cantModi|
|00001cf0| 66 79 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |fy of th|is stack|
|00001d00| 20 3c 3e 20 74 72 75 65 | 20 74 68 65 6e 20 64 6f | <> true| then do|
|00001d10| 4d 65 6e 75 20 22 43 6f | 6d 70 61 63 74 20 53 74 |Menu "Co|mpact St|
|00001d20| 61 63 6b 22 0d 48 65 69 | 7a 65 72 43 6c 6f 73 65 |ack".Hei|zerClose|
|00001d30| 0d 73 74 6f 70 20 75 73 | 69 6e 67 20 73 74 61 63 |.stop us|ing stac|
|00001d40| 6b 20 22 50 6c 61 74 79 | 70 75 73 20 43 6f 6d 6d |k "Platy|pus Comm|
|00001d50| 6f 6e 22 0d 73 68 6f 77 | 20 74 69 74 6c 65 62 61 |on".show| titleba|
|00001d60| 72 0d 65 6e 64 20 63 6c | 65 61 6e 49 74 0d 0d 0d |r.end cl|eanIt...|
|00001d70| 6f 6e 20 63 6c 6f 73 65 | 53 74 61 63 6b 0d 69 66 |on close|Stack.if|
|00001d80| 20 77 72 6f 6e 67 73 74 | 61 63 6b 28 29 20 74 68 | wrongst|ack() th|
|00001d90| 65 6e 20 70 61 73 73 20 | 63 6c 6f 73 65 53 74 61 |en pass |closeSta|
|00001da0| 63 6b 0d 63 6c 65 61 6e | 49 74 0d 70 61 73 73 20 |ck.clean|It.pass |
|00001db0| 63 6c 6f 73 65 53 74 61 | 63 6b 0d 65 6e 64 20 63 |closeSta|ck.end c|
|00001dc0| 6c 6f 73 65 53 74 61 63 | 6b 0d 0d 6f 6e 20 62 75 |loseStac|k..on bu|
|00001dd0| 73 69 6e 65 73 73 20 61 | 6d 74 2c 70 72 6f 70 6e |siness a|mt,propn|
|00001de0| 75 6d 2c 73 65 6c 6c 65 | 72 2c 62 75 79 65 72 0d |um,selle|r,buyer.|
|00001df0| 67 6c 6f 62 61 6c 20 4d | 6f 6e 65 79 2c 50 50 2c |global M|oney,PP,|
|00001e00| 56 6f 6c 61 74 69 6c 65 | 44 61 74 61 2c 42 61 6e |Volatile|Data,Ban|
|00001e10| 6b 2c 4d 6f 6e 6f 70 2c | 43 6f 73 74 2c 50 4c 2c |k,Monop,|Cost,PL,|
|00001e20| c2 0d 41 73 73 65 74 73 | 2c 4b 44 61 74 61 2c 4d |..Assets|,KData,M|
|00001e30| 56 2c 4d 6f 6e 65 79 4f | 77 65 64 2c 43 72 65 64 |V,MoneyO|wed,Cred|
|00001e40| 69 74 6f 72 2c 45 64 75 | 4d 6f 64 65 0d 69 66 20 |itor,Edu|Mode.if |
|00001e50| 73 65 6c 6c 65 72 20 3d | 20 30 20 74 68 65 6e 0d |seller =| 0 then.|
|00001e60| 61 64 64 20 61 6d 74 20 | 74 6f 20 42 61 6e 6b 0d |add amt |to Bank.|
|00001e70| 65 6c 73 65 0d 69 66 20 | 45 64 75 4d 6f 64 65 20 |else.if |EduMode |
|00001e80| 69 73 20 74 72 75 65 20 | 74 68 65 6e 20 45 64 75 |is true |then Edu|
|00001e90| 20 61 6d 74 2c 73 65 6c | 6c 65 72 0d 61 64 64 20 | amt,sel|ler.add |
|00001ea0| 61 6d 74 20 74 6f 20 69 | 74 65 6d 20 4d 6f 6e 65 |amt to i|tem Mone|
|00001eb0| 79 20 6f 66 20 6c 69 6e | 65 20 73 65 6c 6c 65 72 |y of lin|e seller|
|00001ec0| 20 6f 66 20 50 50 0d 69 | 66 20 69 74 65 6d 20 43 | of PP.i|f item C|
|00001ed0| 72 65 64 69 74 6f 72 20 | 6f 66 20 6c 69 6e 65 20 |reditor |of line |
|00001ee0| 73 65 6c 6c 65 72 20 6f | 66 20 50 50 20 3c 3e 20 |seller o|f PP <> |
|00001ef0| 22 22 20 74 68 65 6e 0d | 70 61 79 44 65 62 74 20 |"" then.|payDebt |
|00001f00| 73 65 6c 6c 65 72 0d 65 | 6e 64 20 69 66 0d 70 75 |seller.e|nd if.pu|
|00001f10| 74 20 69 74 65 6d 20 4d | 6f 6e 65 79 20 6f 66 20 |t item M|oney of |
|00001f20| 6c 69 6e 65 20 73 65 6c | 6c 65 72 20 6f 66 20 50 |line sel|ler of P|
|00001f30| 50 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 28 22 |P into c|d fld ("|
|00001f40| 61 76 63 61 73 68 22 26 | 73 65 6c 6c 65 72 29 20 |avcash"&|seller) |
|00001f50| 6f 66 20 63 64 20 22 4d | 61 69 6e 22 0d 65 6e 64 |of cd "M|ain".end|
|00001f60| 20 69 66 0d 69 66 20 62 | 75 79 65 72 20 3d 20 30 | if.if b|uyer = 0|
|00001f70| 20 74 68 65 6e 0d 73 75 | 62 74 72 61 63 74 20 61 | then.su|btract a|
|00001f80| 6d 74 20 66 72 6f 6d 20 | 42 61 6e 6b 0d 65 6c 73 |mt from |Bank.els|
|00001f90| 65 0d 69 66 20 45 64 75 | 4d 6f 64 65 20 69 73 20 |e.if Edu|Mode is |
|00001fa0| 74 72 75 65 20 74 68 65 | 6e 20 45 64 75 20 28 2d |true the|n Edu (-|
|00001fb0| 31 2a 61 6d 74 29 2c 62 | 75 79 65 72 0d 73 75 62 |1*amt),b|uyer.sub|
|00001fc0| 74 72 61 63 74 20 61 6d | 74 20 66 72 6f 6d 20 69 |tract am|t from i|
|00001fd0| 74 65 6d 20 4d 6f 6e 65 | 79 20 6f 66 20 6c 69 6e |tem Mone|y of lin|
|00001fe0| 65 20 62 75 79 65 72 20 | 6f 66 20 50 50 0d 69 66 |e buyer |of PP.if|
|00001ff0| 20 69 74 65 6d 20 4d 6f | 6e 65 79 20 6f 66 20 6c | item Mo|ney of l|
|00002000| 69 6e 65 20 62 75 79 65 | 72 20 6f 66 20 50 50 20 |ine buye|r of PP |
|00002010| 3c 20 30 20 74 68 65 6e | 20 2d 2d 77 65 20 68 61 |< 0 then| --we ha|
|00002020| 76 65 20 61 20 64 65 62 | 74 0d 69 6e 63 75 72 44 |ve a deb|t.incurD|
|00002030| 65 62 74 20 62 75 79 65 | 72 2c 73 65 6c 6c 65 72 |ebt buye|r,seller|
|00002040| 0d 65 6e 64 20 69 66 0d | 70 75 74 20 69 74 65 6d |.end if.|put item|
|00002050| 20 4d 6f 6e 65 79 20 6f | 66 20 6c 69 6e 65 20 62 | Money o|f line b|
|00002060| 75 79 65 72 20 6f 66 20 | 50 50 20 69 6e 74 6f 20 |uyer of |PP into |
|00002070| 63 64 20 66 6c 64 20 28 | 22 61 76 63 61 73 68 22 |cd fld (|"avcash"|
|00002080| 26 62 75 79 65 72 29 20 | 6f 66 20 63 64 20 22 4d |&buyer) |of cd "M|
|00002090| 61 69 6e 22 0d 65 6e 64 | 20 69 66 0d 69 66 20 70 |ain".end| if.if p|
|000020a0| 72 6f 70 6e 75 6d 20 3e | 20 30 20 74 68 65 6e 0d |ropnum >| 0 then.|
|000020b0| 70 75 74 20 69 74 65 6d | 20 4d 6f 6e 6f 70 20 6f |put item| Monop o|
|000020c0| 66 20 6c 69 6e 65 20 70 | 72 6f 70 6e 75 6d 20 6f |f line p|ropnum o|
|000020d0| 66 20 4b 44 61 74 61 20 | 69 6e 74 6f 20 6d 6e 6f |f KData |into mno|
|000020e0| 0d 69 66 20 73 65 6c 6c | 65 72 20 3c 3e 20 30 20 |.if sell|er <> 0 |
|000020f0| 74 68 65 6e 0d 70 75 74 | 20 69 74 65 6d 20 50 4c |then.put| item PL|
|00002100| 20 6f 66 20 6c 69 6e 65 | 20 73 65 6c 6c 65 72 20 | of line| seller |
|00002110| 6f 66 20 50 50 20 69 6e | 74 6f 20 70 72 6f 70 73 |of PP in|to props|
|00002120| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00002130| 20 31 20 74 6f 20 28 74 | 68 65 20 6e 75 6d 62 65 | 1 to (t|he numbe|
|00002140| 72 20 6f 66 20 77 6f 72 | 64 73 20 6f 66 20 70 72 |r of wor|ds of pr|
|00002150| 6f 70 73 29 0d 69 66 20 | 77 6f 72 64 20 69 20 6f |ops).if |word i o|
|00002160| 66 20 70 72 6f 70 73 20 | 3d 20 70 72 6f 70 6e 75 |f props |= propnu|
|00002170| 6d 20 74 68 65 6e 0d 64 | 65 6c 65 74 65 20 77 6f |m then.d|elete wo|
|00002180| 72 64 20 69 20 6f 66 20 | 70 72 6f 70 73 0d 65 78 |rd i of |props.ex|
|00002190| 69 74 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |it repea|t.end if|
|000021a0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 70 75 74 20 |.end rep|eat.put |
|000021b0| 70 72 6f 70 73 20 69 6e | 74 6f 20 69 74 65 6d 20 |props in|to item |
|000021c0| 50 4c 20 6f 66 20 6c 69 | 6e 65 20 73 65 6c 6c 65 |PL of li|ne selle|
|000021d0| 72 20 6f 66 20 50 50 0d | 65 6e 64 20 69 66 0d 69 |r of PP.|end if.i|
|000021e0| 66 20 62 75 79 65 72 20 | 3c 3e 20 30 20 74 68 65 |f buyer |<> 0 the|
|000021f0| 6e 20 70 75 74 20 22 20 | 22 20 26 20 70 72 6f 70 |n put " |" & prop|
|00002200| 6e 75 6d 20 61 66 74 65 | 72 20 69 74 65 6d 20 50 |num afte|r item P|
|00002210| 4c 20 6f 66 20 6c 69 6e | 65 20 62 75 79 65 72 20 |L of lin|e buyer |
|00002220| 6f 66 20 50 50 0d 64 65 | 4d 6f 6e 6f 70 20 6d 6e |of PP.de|Monop mn|
|00002230| 6f 2c 73 65 6c 6c 65 72 | 0d 70 75 74 20 62 75 79 |o,seller|.put buy|
|00002240| 65 72 20 69 6e 74 6f 20 | 69 74 65 6d 20 31 20 6f |er into |item 1 o|
|00002250| 66 20 6c 69 6e 65 20 70 | 72 6f 70 6e 75 6d 20 6f |f line p|ropnum o|
|00002260| 66 20 56 6f 6c 61 74 69 | 6c 65 44 61 74 61 0d 69 |f Volati|leData.i|
|00002270| 66 20 62 75 79 65 72 20 | 3c 3e 20 30 20 74 68 65 |f buyer |<> 0 the|
|00002280| 6e 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |n.put it|em 1 of |
|00002290| 6c 69 6e 65 20 62 75 79 | 65 72 20 6f 66 20 50 50 |line buy|er of PP|
|000022a0| 20 69 6e 74 6f 20 6f 77 | 6e 0d 65 6c 73 65 0d 70 | into ow|n.else.p|
|000022b0| 75 74 20 22 42 61 6e 6b | 22 20 69 6e 74 6f 20 6f |ut "Bank|" into o|
|000022c0| 77 6e 0d 65 6e 64 20 69 | 66 0d 70 75 74 20 4d 6f |wn.end i|f.put Mo|
|000022d0| 6e 6f 70 43 68 65 63 6b | 28 6d 6e 6f 2c 62 75 79 |nopCheck|(mno,buy|
|000022e0| 65 72 29 20 69 6e 74 6f | 20 6d 63 68 65 63 6b 0d |er) into| mcheck.|
|000022f0| 69 66 20 6d 63 68 65 63 | 6b 20 74 68 65 6e 0d 6d |if mchec|k then.m|
|00002300| 6f 6e 6f 70 6f 77 6e 20 | 6d 6e 6f 2c 70 72 6f 70 |onopown |mno,prop|
|00002310| 6e 75 6d 2c 62 75 79 65 | 72 0d 65 6e 64 20 69 66 |num,buye|r.end if|
|00002320| 0d 70 75 74 20 22 20 22 | 20 26 20 6f 77 6e 20 69 |.put " "| & own i|
|00002330| 6e 74 6f 20 77 6f 72 64 | 20 33 20 6f 66 20 6c 69 |nto word| 3 of li|
|00002340| 6e 65 20 31 31 20 6f 66 | 20 63 64 20 66 6c 64 20 |ne 11 of| cd fld |
|00002350| 28 22 54 69 74 6c 65 22 | 26 70 72 6f 70 6e 75 6d |("Title"|&propnum|
|00002360| 29 20 6f 66 20 63 64 20 | 22 4d 61 69 6e 22 0d 76 |) of cd |"Main".v|
|00002370| 69 73 4f 77 6e 20 70 72 | 6f 70 6e 75 6d 2c 62 75 |isOwn pr|opnum,bu|
|00002380| 79 65 72 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 62 |yer.end |if.end b|
|00002390| 75 73 69 6e 65 73 73 0d | 0d 6f 6e 20 6d 6f 6e 6f |usiness.|.on mono|
|000023a0| 70 6f 77 6e 20 6d 6e 6f | 2c 70 72 6f 70 6e 75 6d |pown mno|,propnum|
|000023b0| 2c 62 75 79 65 72 0d 67 | 6c 6f 62 61 6c 20 4d 6f |,buyer.g|lobal Mo|
|000023c0| 6e 6f 70 73 2c 50 50 0d | 69 66 20 74 68 65 20 73 |nops,PP.|if the s|
|000023d0| 6f 75 6e 64 20 69 73 20 | 64 6f 6e 65 20 74 68 65 |ound is |done the|
|000023e0| 6e 20 70 6c 61 79 63 20 | 22 43 68 61 72 67 65 22 |n playc |"Charge"|
|000023f0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 63 |.if ther|e is a c|
|00002400| 64 20 66 6c 64 20 22 53 | 74 61 74 75 73 6c 69 6e |d fld "S|tatuslin|
|00002410| 65 22 20 74 68 65 6e 20 | 66 6c 61 73 68 69 74 20 |e" then |flashit |
|00002420| 28 69 74 65 6d 20 31 20 | 6f 66 20 6c 69 6e 65 20 |(item 1 |of line |
|00002430| 62 75 79 65 72 20 6f 66 | 20 50 50 29 20 26 20 67 |buyer of| PP) & g|
|00002440| 65 74 73 74 72 28 37 34 | 29 20 26 c2 0d 69 74 65 |etstr(74|) &..ite|
|00002450| 6d 20 31 20 6f 66 20 6c | 69 6e 65 20 6d 6e 6f 20 |m 1 of l|ine mno |
|00002460| 6f 66 20 4d 6f 6e 6f 70 | 73 20 26 20 67 65 74 73 |of Monop|s & gets|
|00002470| 74 72 28 37 35 29 2c 33 | 0d 65 6e 64 20 6d 6f 6e |tr(75),3|.end mon|
|00002480| 6f 70 6f 77 6e 0d 0d 6f | 6e 20 69 6e 63 75 72 44 |opown..o|n incurD|
|00002490| 65 62 74 20 62 75 79 2c | 73 65 6c 6c 0d 67 6c 6f |ebt buy,|sell.glo|
|000024a0| 62 61 6c 20 50 50 2c 63 | 72 65 64 69 74 6f 72 0d |bal PP,c|reditor.|
|000024b0| 70 75 74 20 73 65 6c 6c | 20 69 6e 74 6f 20 69 74 |put sell| into it|
|000024c0| 65 6d 20 43 72 65 64 69 | 74 6f 72 20 6f 66 20 6c |em Credi|tor of l|
|000024d0| 69 6e 65 20 62 75 79 20 | 6f 66 20 50 50 0d 65 6e |ine buy |of PP.en|
|000024e0| 64 20 69 6e 63 75 72 44 | 65 62 74 0d 0d 6f 6e 20 |d incurD|ebt..on |
|000024f0| 70 61 79 44 65 62 74 20 | 70 6e 75 6d 0d 67 6c 6f |payDebt |pnum.glo|
|00002500| 62 61 6c 20 50 50 2c 43 | 72 65 64 69 74 6f 72 2c |bal PP,C|reditor,|
|00002510| 4d 6f 6e 65 79 0d 69 66 | 20 69 74 65 6d 20 4d 6f |Money.if| item Mo|
|00002520| 6e 65 79 20 6f 66 20 6c | 69 6e 65 20 70 6e 75 6d |ney of l|ine pnum|
|00002530| 20 6f 66 20 50 50 20 3e | 3d 20 30 20 74 68 65 6e | of PP >|= 0 then|
|00002540| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 69 74 65 |.put "" |into ite|
|00002550| 6d 20 43 72 65 64 69 74 | 6f 72 20 6f 66 20 6c 69 |m Credit|or of li|
|00002560| 6e 65 20 70 6e 75 6d 20 | 6f 66 20 50 50 0d 65 6e |ne pnum |of PP.en|
|00002570| 64 20 69 66 0d 65 6e 64 | 20 70 61 79 44 65 62 74 |d if.end| payDebt|
|00002580| 0d 0d 6f 6e 20 64 65 4d | 6f 6e 6f 70 20 6d 6e 6f |..on deM|onop mno|
|00002590| 2c 78 0d 67 6c 6f 62 61 | 6c 20 4d 6f 6e 6f 70 73 |,x.globa|l Monops|
|000025a0| 0d 69 66 20 69 74 65 6d | 20 33 20 6f 66 20 6c 69 |.if item| 3 of li|
|000025b0| 6e 65 20 6d 6e 6f 20 6f | 66 20 4d 6f 6e 6f 70 73 |ne mno o|f Monops|
|000025c0| 20 3d 20 78 20 74 68 65 | 6e 0d 70 75 74 20 2d 31 | = x the|n.put -1|
|000025d0| 20 69 6e 74 6f 20 69 74 | 65 6d 20 33 20 6f 66 20 | into it|em 3 of |
|000025e0| 6c 69 6e 65 20 6d 6e 6f | 20 6f 66 20 4d 6f 6e 6f |line mno| of Mono|
|000025f0| 70 73 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 64 65 |ps.end i|f.end de|
|00002600| 6d 6f 6e 6f 70 0d 0d 6f | 6e 20 68 69 64 65 74 6f |monop..o|n hideto|
|00002610| 6b 73 0d 67 6c 6f 62 61 | 6c 20 62 65 67 74 6f 6b |ks.globa|l begtok|
|00002620| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00002630| 20 31 20 74 6f 20 38 0d | 73 65 74 20 74 68 65 20 | 1 to 8.|set the |
|00002640| 6e 61 6d 65 20 6f 66 20 | 63 64 20 62 74 6e 20 28 |name of |cd btn (|
|00002650| 62 65 67 74 6f 6b 2b 69 | 2d 31 29 20 74 6f 20 22 |begtok+i|-1) to "|
|00002660| 74 6f 6b 65 6e 22 0d 68 | 69 64 65 20 63 64 20 62 |token".h|ide cd b|
|00002670| 74 6e 20 28 62 65 67 74 | 6f 6b 2b 69 2d 31 29 0d |tn (begt|ok+i-1).|
|00002680| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 68 |end repe|at.end h|
|00002690| 69 64 65 74 6f 6b 73 0d | 0d 6f 6e 20 45 64 75 20 |idetoks.|.on Edu |
|000026a0| 61 6d 74 2c 70 6c 61 79 | 65 72 0d 67 6c 6f 62 61 |amt,play|er.globa|
|000026b0| 6c 20 50 50 2c 4d 6f 6e | 65 79 2c 45 64 75 42 6f |l PP,Mon|ey,EduBo|
|000026c0| 6e 75 73 2c 45 64 75 50 | 65 6e 61 0d 70 75 74 20 |nus,EduP|ena.put |
|000026d0| 28 69 74 65 6d 20 4d 6f | 6e 65 79 20 6f 66 20 6c |(item Mo|ney of l|
|000026e0| 69 6e 65 20 70 6c 61 79 | 65 72 20 6f 66 20 50 50 |ine play|er of PP|
|000026f0| 29 2b 61 6d 74 20 69 6e | 74 6f 20 72 65 73 70 6f |)+amt in|to respo|
|00002700| 6e 73 65 0d 61 73 6b 20 | 28 69 74 65 6d 20 31 20 |nse.ask |(item 1 |
|00002710| 6f 66 20 6c 69 6e 65 20 | 70 6c 61 79 65 72 20 6f |of line |player o|
|00002720| 66 20 50 50 29 20 26 20 | 67 65 74 73 74 72 28 36 |f PP) & |getstr(6|
|00002730| 33 29 0d 69 66 20 69 74 | 20 69 73 20 72 65 73 70 |3).if it| is resp|
|00002740| 6f 6e 73 65 20 74 68 65 | 6e 0d 70 6c 61 79 63 20 |onse the|n.playc |
|00002750| 22 66 6c 75 74 65 22 2c | 22 63 34 73 20 66 20 61 |"flute",|"c4s f a|
|00002760| 20 63 35 65 20 61 34 73 | 20 63 35 65 2e 22 0d 69 | c5e a4s| c5e.".i|
|00002770| 66 20 45 64 75 42 6f 6e | 75 73 20 3c 3e 20 30 20 |f EduBon|us <> 0 |
|00002780| 74 68 65 6e 0d 66 6c 61 | 73 68 69 74 20 67 65 74 |then.fla|shit get|
|00002790| 73 74 72 28 36 34 29 20 | 26 20 45 64 75 42 6f 6e |str(64) |& EduBon|
|000027a0| 75 73 2c 33 0d 61 64 64 | 20 45 64 75 42 6f 6e 75 |us,3.add| EduBonu|
|000027b0| 73 20 74 6f 20 69 74 65 | 6d 20 4d 6f 6e 65 79 20 |s to ite|m Money |
|000027c0| 6f 66 20 6c 69 6e 65 20 | 70 6c 61 79 65 72 20 6f |of line |player o|
|000027d0| 66 20 50 50 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |f PP.end| if.else|
|000027e0| 0d 70 6c 61 79 63 20 20 | 22 66 61 72 74 22 0d 69 |.playc |"fart".i|
|000027f0| 66 20 45 64 75 50 65 6e | 61 20 3c 3e 20 30 20 74 |f EduPen|a <> 0 t|
|00002800| 68 65 6e 0d 66 6c 61 73 | 68 69 74 20 67 65 74 73 |hen.flas|hit gets|
|00002810| 74 72 28 36 35 29 20 26 | 20 72 65 73 70 6f 6e 73 |tr(65) &| respons|
|00002820| 65 20 26 20 67 65 74 73 | 74 72 28 36 36 29 20 26 |e & gets|tr(66) &|
|00002830| 20 20 45 64 75 50 65 6e | 61 0d 73 75 62 74 72 61 | EduPen|a.subtra|
|00002840| 63 74 20 45 64 75 50 65 | 6e 61 20 66 72 6f 6d 20 |ct EduPe|na from |
|00002850| 69 74 65 6d 20 4d 6f 6e | 65 79 20 6f 66 20 6c 69 |item Mon|ey of li|
|00002860| 6e 65 20 70 6c 61 79 65 | 72 20 6f 66 20 50 50 0d |ne playe|r of PP.|
|00002870| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00002880| 64 20 45 64 75 0d 0d 6f | 6e 20 74 72 61 64 65 0d |d Edu..o|n trade.|
|00002890| 67 6c 6f 62 61 6c 20 64 | 65 61 6c 65 72 31 2c 64 |global d|ealer1,d|
|000028a0| 65 61 6c 65 72 32 2c 47 | 61 6d 65 2c 4e 50 0d 67 |ealer2,G|ame,NP.g|
|000028b0| 6c 6f 62 61 6c 20 50 50 | 2c 73 74 61 74 75 73 0d |lobal PP|,status.|
|000028c0| 69 66 20 47 61 6d 65 20 | 3c 3e 20 74 72 75 65 20 |if Game |<> true |
|000028d0| 74 68 65 6e 0d 66 6c 61 | 73 68 69 74 20 67 65 74 |then.fla|shit get|
|000028e0| 73 74 72 28 37 31 29 2c | 34 0d 65 78 69 74 20 74 |str(71),|4.exit t|
|000028f0| 72 61 64 65 0d 65 6e 64 | 20 69 66 0d 69 66 20 4e |rade.end| if.if N|
|00002900| 50 20 3d 20 32 20 74 68 | 65 6e 0d 70 75 74 20 31 |P = 2 th|en.put 1|
|00002910| 20 69 6e 74 6f 20 64 65 | 61 6c 65 72 31 0d 70 75 | into de|aler1.pu|
|00002920| 74 20 32 20 69 6e 74 6f | 20 64 65 61 6c 65 72 32 |t 2 into| dealer2|
|00002930| 0d 65 6c 73 65 0d 70 75 | 74 20 67 65 74 50 6c 61 |.else.pu|t getPla|
|00002940| 79 65 72 4e 75 6d 28 67 | 65 74 53 74 72 28 31 29 |yerNum(g|etStr(1)|
|00002950| 29 20 69 6e 74 6f 20 64 | 65 61 6c 65 72 31 0d 70 |) into d|ealer1.p|
|00002960| 75 74 20 67 65 74 50 6c | 61 79 65 72 4e 75 6d 28 |ut getPl|ayerNum(|
|00002970| 67 65 74 53 74 72 28 32 | 29 29 20 69 6e 74 6f 20 |getStr(2|)) into |
|00002980| 64 65 61 6c 65 72 32 0d | 65 6e 64 20 69 66 0d 69 |dealer2.|end if.i|
|00002990| 66 20 28 69 74 65 6d 20 | 73 74 61 74 75 73 20 6f |f (item |status o|
|000029a0| 66 20 6c 69 6e 65 20 64 | 65 61 6c 65 72 31 20 6f |f line d|ealer1 o|
|000029b0| 66 20 50 50 20 69 73 20 | 22 62 61 6e 6b 72 75 70 |f PP is |"bankrup|
|000029c0| 74 22 29 20 c2 0d 6f 72 | 20 28 69 74 65 6d 20 73 |t") ..or| (item s|
|000029d0| 74 61 74 75 73 20 6f 66 | 20 6c 69 6e 65 20 64 65 |tatus of| line de|
|000029e0| 61 6c 65 72 32 20 6f 66 | 20 50 50 20 69 73 20 22 |aler2 of| PP is "|
|000029f0| 62 61 6e 6b 72 75 70 74 | 22 29 20 74 68 65 6e 0d |bankrupt|") then.|
|00002a00| 66 6c 61 73 68 69 74 20 | 67 65 74 73 74 72 28 37 |flashit |getstr(7|
|00002a10| 32 29 2c 33 0d 65 78 69 | 74 20 74 72 61 64 65 0d |2),3.exi|t trade.|
|00002a20| 65 6e 64 20 69 66 0d 6c | 6f 63 6b 20 73 63 72 65 |end if.l|ock scre|
|00002a30| 65 6e 0d 70 75 74 20 22 | 22 20 69 6e 74 6f 20 63 |en.put "|" into c|
|00002a40| 64 20 66 6c 64 20 22 73 | 74 61 74 75 73 6c 69 6e |d fld "s|tatuslin|
|00002a50| 65 22 0d 67 6f 20 63 64 | 20 22 44 65 61 6c 22 0d |e".go cd| "Deal".|
|00002a60| 65 6e 64 20 74 72 61 64 | 65 0d 0d 6f 6e 20 6c 6f |end trad|e..on lo|
|00002a70| 61 64 0d 67 6c 6f 62 61 | 6c 20 67 6d 66 6c 6e 6d |ad.globa|l gmflnm|
|00002a80| 0d 61 6e 73 77 65 72 20 | 66 69 6c 65 20 67 65 74 |.answer |file get|
|00002a90| 73 74 72 28 34 39 29 20 | 6f 66 20 74 79 70 65 20 |str(49) |of type |
|00002aa0| 22 4b 4e 4b 46 22 0d 70 | 75 74 20 74 68 65 20 72 |"KNKF".p|ut the r|
|00002ab0| 65 73 75 6c 74 20 69 6e | 74 6f 20 72 0d 69 66 20 |esult in|to r.if |
|00002ac0| 72 20 69 73 20 22 43 61 | 6e 63 65 6c 22 20 74 68 |r is "Ca|ncel" th|
|00002ad0| 65 6e 20 65 78 69 74 20 | 6c 6f 61 64 0d 70 75 74 |en exit |load.put|
|00002ae0| 20 69 74 20 69 6e 74 6f | 20 67 6d 66 6c 6e 6d 0d | it into| gmflnm.|
|00002af0| 6f 70 65 6e 20 66 69 6c | 65 20 69 74 0d 67 6c 6f |open fil|e it.glo|
|00002b00| 62 61 6c 20 4d 6f 6e 6f | 70 73 2c 50 50 2c 56 6f |bal Mono|ps,PP,Vo|
|00002b10| 6c 61 74 69 6c 65 44 61 | 74 61 2c 4e 50 2c 50 6c |latileDa|ta,NP,Pl|
|00002b20| 61 79 65 72 2c 43 68 61 | 6e 63 65 2c 4d 6f 72 74 |ayer,Cha|nce,Mort|
|00002b30| 67 61 67 65 46 6c 61 67 | 2c 4d 6f 6e 6f 70 2c 4b |gageFlag|,Monop,K|
|00002b40| 44 61 74 61 0d 72 65 61 | 64 20 66 72 6f 6d 20 66 |Data.rea|d from f|
|00002b50| 69 6c 65 20 67 6d 66 6c | 6e 6d 20 75 6e 74 69 6c |ile gmfl|nm until|
|00002b60| 20 45 4f 46 0d 70 75 74 | 20 69 74 20 69 6e 74 6f | EOF.put| it into|
|00002b70| 20 73 61 76 65 64 47 61 | 6d 65 0d 63 6c 6f 73 65 | savedGa|me.close|
|00002b80| 20 66 69 6c 65 20 67 6d | 66 6c 6e 6d 0d 70 75 74 | file gm|flnm.put|
|00002b90| 20 77 6f 72 64 20 31 20 | 6f 66 20 6c 69 6e 65 20 | word 1 |of line |
|00002ba0| 31 20 6f 66 20 73 61 76 | 65 64 47 61 6d 65 20 69 |1 of sav|edGame i|
|00002bb0| 6e 74 6f 20 73 0d 67 6c | 6f 62 61 6c 20 53 69 67 |nto s.gl|obal Sig|
|00002bc0| 6e 61 74 75 72 65 0d 69 | 66 20 73 20 3c 3e 20 53 |nature.i|f s <> S|
|00002bd0| 69 67 6e 61 74 75 72 65 | 20 74 68 65 6e 0d 61 6e |ignature| then.an|
|00002be0| 73 77 65 72 20 67 65 74 | 73 74 72 28 37 33 29 0d |swer get|str(73).|
|00002bf0| 65 78 69 74 20 6c 6f 61 | 64 0d 65 6e 64 20 69 66 |exit loa|d.end if|
|00002c00| 0d 63 6c 65 61 6e 62 6f | 61 72 64 0d 70 75 74 20 |.cleanbo|ard.put |
|00002c10| 77 6f 72 64 20 32 20 6f | 66 20 6c 69 6e 65 20 31 |word 2 o|f line 1|
|00002c20| 20 6f 66 20 73 61 76 65 | 64 47 61 6d 65 20 69 6e | of save|dGame in|
|00002c30| 74 6f 20 6e 75 6d 4d 6f | 6e 6f 70 73 0d 72 65 70 |to numMo|nops.rep|
|00002c40| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|00002c50| 6f 20 6e 75 6d 4d 6f 6e | 6f 70 73 0d 70 75 74 20 |o numMon|ops.put |
|00002c60| 77 6f 72 64 20 28 69 2b | 32 29 20 6f 66 20 6c 69 |word (i+|2) of li|
|00002c70| 6e 65 20 31 20 6f 66 20 | 73 61 76 65 64 47 61 6d |ne 1 of |savedGam|
|00002c80| 65 20 69 6e 74 6f 20 69 | 74 65 6d 20 33 20 6f 66 |e into i|tem 3 of|
|00002c90| 20 6c 69 6e 65 20 69 20 | 6f 66 20 4d 6f 6e 6f 70 | line i |of Monop|
|00002ca0| 73 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 72 65 70 |s.end re|peat.rep|
|00002cb0| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 31 20 74 |eat with| i = 1 t|
|00002cc0| 6f 20 34 30 0d 73 65 74 | 20 74 68 65 20 63 75 72 |o 40.set| the cur|
|00002cd0| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 70 75 74 20 |sor to b|usy.put |
|00002ce0| 6c 69 6e 65 20 69 2b 31 | 20 6f 66 20 73 61 76 65 |line i+1| of save|
|00002cf0| 64 47 61 6d 65 20 69 6e | 74 6f 20 6c 69 6e 65 20 |dGame in|to line |
|00002d00| 69 20 6f 66 20 56 6f 6c | 61 74 69 6c 65 44 61 74 |i of Vol|atileDat|
|00002d10| 61 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 70 75 74 |a.end re|peat.put|
|00002d20| 20 6c 69 6e 65 20 34 32 | 20 6f 66 20 73 61 76 65 | line 42| of save|
|00002d30| 64 47 61 6d 65 20 69 6e | 74 6f 20 4e 50 0d 70 75 |dGame in|to NP.pu|
|00002d40| 74 20 6c 69 6e 65 20 34 | 33 20 6f 66 20 73 61 76 |t line 4|3 of sav|
|00002d50| 65 64 47 61 6d 65 20 69 | 6e 74 6f 20 50 6c 61 79 |edGame i|nto Play|
|00002d60| 65 72 0d 70 75 74 20 4e | 50 20 69 6e 74 6f 20 6e |er.put N|P into n|
|00002d70| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 6a 20 3d |.repeat |with j =|
|00002d80| 20 31 20 74 6f 20 6e 0d | 73 65 74 20 74 68 65 20 | 1 to n.|set the |
|00002d90| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 70 |cursor t|o busy.p|
|00002da0| 75 74 20 6c 69 6e 65 20 | 28 34 33 2b 6a 29 20 6f |ut line |(43+j) o|
|00002db0| 66 20 73 61 76 65 64 47 | 61 6d 65 20 69 6e 74 6f |f savedG|ame into|
|00002dc0| 20 6c 69 6e 65 20 6a 20 | 6f 66 20 50 50 0d 70 75 | line j |of PP.pu|
|00002dd0| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 6c 69 6e 65 |t item 2| of line|
|00002de0| 20 6a 20 6f 66 20 50 50 | 20 69 6e 74 6f 20 70 72 | j of PP| into pr|
|00002df0| 6f 70 6c 0d 70 75 74 20 | 28 69 74 65 6d 20 31 20 |opl.put |(item 1 |
|00002e00| 6f 66 20 6c 69 6e 65 20 | 6a 20 6f 66 20 50 50 29 |of line |j of PP)|
|00002e10| 20 69 6e 74 6f 20 74 68 | 65 4e 61 6d 65 0d 72 65 | into th|eName.re|
|00002e20| 70 65 61 74 20 77 69 74 | 68 20 6b 20 3d 20 31 20 |peat wit|h k = 1 |
|00002e30| 74 6f 20 28 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |to (the |number o|
|00002e40| 66 20 77 6f 72 64 73 20 | 6f 66 20 70 72 6f 70 6c |f words |of propl|
|00002e50| 29 0d 70 75 74 20 22 54 | 69 74 6c 65 22 26 28 77 |).put "T|itle"&(w|
|00002e60| 6f 72 64 20 6b 20 6f 66 | 20 70 72 6f 70 6c 29 20 |ord k of| propl) |
|00002e70| 69 6e 74 6f 20 74 68 65 | 44 65 65 64 0d 70 75 74 |into the|Deed.put|
|00002e80| 20 22 20 22 20 26 20 74 | 68 65 4e 61 6d 65 20 61 | " " & t|heName a|
|00002e90| 66 74 65 72 20 6c 69 6e | 65 20 31 31 20 6f 66 20 |fter lin|e 11 of |
|00002ea0| 63 64 20 66 6c 64 20 74 | 68 65 44 65 65 64 0d 65 |cd fld t|heDeed.e|
|00002eb0| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 72 65 |nd repea|t.end re|
|00002ec0| 70 65 61 74 0d 67 6c 6f | 62 61 6c 20 63 68 61 6e |peat.glo|bal chan|
|00002ed0| 63 65 50 74 72 2c 43 68 | 61 6e 63 65 2c 63 68 61 |cePtr,Ch|ance,cha|
|00002ee0| 6e 63 65 53 69 7a 65 2c | 63 68 61 6e 63 65 44 65 |nceSize,|chanceDe|
|00002ef0| 78 65 73 2c 6e 64 65 63 | 6b 73 0d 70 75 74 20 6c |xes,ndec|ks.put l|
|00002f00| 69 6e 65 20 28 34 34 2b | 6e 29 20 6f 66 20 73 61 |ine (44+|n) of sa|
|00002f10| 76 65 64 47 61 6d 65 20 | 69 6e 74 6f 20 63 68 61 |vedGame |into cha|
|00002f20| 6e 63 65 50 74 72 0d 70 | 75 74 20 74 68 65 20 6e |ncePtr.p|ut the n|
|00002f30| 75 6d 62 65 72 20 6f 66 | 20 77 6f 72 64 73 20 6f |umber of| words o|
|00002f40| 66 20 63 68 61 6e 63 65 | 50 74 72 20 69 6e 74 6f |f chance|Ptr into|
|00002f50| 20 6e 64 65 63 6b 73 0d | 72 65 70 65 61 74 20 77 | ndecks.|repeat w|
|00002f60| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 6e 64 65 |ith i = |1 to nde|
|00002f70| 63 6b 73 0d 73 65 74 20 | 74 68 65 20 63 75 72 73 |cks.set |the curs|
|00002f80| 6f 72 20 74 6f 20 62 75 | 73 79 0d 70 75 74 20 6c |or to bu|sy.put l|
|00002f90| 69 6e 65 20 28 34 34 2b | 6e 2b 69 29 20 6f 66 20 |ine (44+|n+i) of |
|00002fa0| 73 61 76 65 64 47 61 6d | 65 20 69 6e 74 6f 20 6c |savedGam|e into l|
|00002fb0| 69 6e 65 20 69 20 6f 66 | 20 43 68 61 6e 63 65 44 |ine i of| ChanceD|
|00002fc0| 65 78 65 73 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |exes.end| repeat.|
|00002fd0| 67 6f 20 63 64 20 22 4d | 61 69 6e 22 0d 73 65 74 |go cd "M|ain".set|
|00002fe0| 4f 6c 64 47 61 6d 65 0d | 69 66 20 6e 6f 74 20 28 |OldGame.|if not (|
|00002ff0| 74 68 65 20 73 6f 75 6e | 64 20 69 73 20 64 6f 6e |the soun|d is don|
|00003000| 65 29 20 74 68 65 6e 20 | 70 6c 61 79 20 73 74 6f |e) then |play sto|
|00003010| 70 0d 70 6c 61 79 63 20 | 22 61 6e 6e 6f 75 6e 63 |p.playc |"announc|
|00003020| 65 22 0d 65 6e 64 20 6c | 6f 61 64 0d 0d 6f 6e 20 |e".end l|oad..on |
|00003030| 73 61 76 65 20 66 6c 67 | 0d 67 6c 6f 62 61 6c 20 |save flg|.global |
|00003040| 6e 6d 2c 63 6f 64 0d 69 | 66 20 63 68 65 63 6b 52 |nm,cod.i|f checkR|
|00003050| 65 67 28 6e 6d 2c 63 6f | 64 2c 22 4b 6e 6f 63 6b |eg(nm,co|d,"Knock|
|00003060| 6f 66 66 61 6c 79 22 29 | 20 74 68 65 6e 0d 67 6c |offaly")| then.gl|
|00003070| 6f 62 61 6c 20 4d 6f 6e | 6f 70 73 2c 50 50 2c 56 |obal Mon|ops,PP,V|
|00003080| 6f 6c 61 74 69 6c 65 44 | 61 74 61 2c 4e 50 2c 50 |olatileD|ata,NP,P|
|00003090| 6c 61 79 65 72 2c 53 69 | 67 6e 61 74 75 72 65 2c |layer,Si|gnature,|
|000030a0| 64 69 72 74 79 2c 67 6d | 66 6c 6e 6d 0d 70 75 74 |dirty,gm|flnm.put|
|000030b0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|000030c0| 69 6e 65 73 20 6f 66 20 | 4d 6f 6e 6f 70 73 20 69 |ines of |Monops i|
|000030d0| 6e 74 6f 20 4e 75 6d 4d | 6f 6e 6f 70 73 0d 70 75 |nto NumM|onops.pu|
|000030e0| 74 20 53 69 67 6e 61 74 | 75 72 65 20 26 20 22 20 |t Signat|ure & " |
|000030f0| 22 20 26 20 4e 75 6d 4d | 6f 6e 6f 70 73 20 26 20 |" & NumM|onops & |
|00003100| 22 20 22 20 61 66 74 65 | 72 20 74 65 6d 70 0d 72 |" " afte|r temp.r|
|00003110| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00003120| 20 74 6f 20 4e 75 6d 4d | 6f 6e 6f 70 73 0d 70 75 | to NumM|onops.pu|
|00003130| 74 20 28 69 74 65 6d 20 | 33 20 6f 66 20 6c 69 6e |t (item |3 of lin|
|00003140| 65 20 69 20 6f 66 20 4d | 6f 6e 6f 70 73 29 20 26 |e i of M|onops) &|
|00003150| 20 22 20 22 20 61 66 74 | 65 72 20 74 65 6d 70 0d | " " aft|er temp.|
|00003160| 65 6e 64 20 72 65 70 65 | 61 74 0d 72 65 70 65 61 |end repe|at.repea|
|00003170| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00003180| 34 30 0d 70 75 74 20 28 | 6c 69 6e 65 20 69 20 6f |40.put (|line i o|
|00003190| 66 20 56 6f 6c 61 74 69 | 6c 65 44 61 74 61 29 20 |f Volati|leData) |
|000031a0| 69 6e 74 6f 20 6c 69 6e | 65 20 28 69 2b 31 29 20 |into lin|e (i+1) |
|000031b0| 6f 66 20 74 65 6d 70 0d | 65 6e 64 20 72 65 70 65 |of temp.|end repe|
|000031c0| 61 74 0d 70 75 74 20 4e | 50 20 69 6e 74 6f 20 6c |at.put N|P into l|
|000031d0| 69 6e 65 20 34 32 20 6f | 66 20 74 65 6d 70 0d 70 |ine 42 o|f temp.p|
|000031e0| 75 74 20 50 6c 61 79 65 | 72 20 69 6e 74 6f 20 6c |ut Playe|r into l|
|000031f0| 69 6e 65 20 34 33 20 6f | 66 20 74 65 6d 70 0d 72 |ine 43 o|f temp.r|
|00003200| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00003210| 20 74 6f 20 4e 50 0d 70 | 75 74 20 28 6c 69 6e 65 | to NP.p|ut (line|
|00003220| 20 69 20 6f 66 20 50 50 | 29 20 69 6e 74 6f 20 6c | i of PP|) into l|
|00003230| 69 6e 65 20 34 33 2b 69 | 20 6f 66 20 74 65 6d 70 |ine 43+i| of temp|
|00003240| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 6c 6f 62 |.end rep|eat.glob|
|00003250| 61 6c 20 63 68 61 6e 63 | 65 50 74 72 2c 43 68 61 |al chanc|ePtr,Cha|
|00003260| 6e 63 65 2c 63 68 61 6e | 63 65 53 69 7a 65 2c 43 |nce,chan|ceSize,C|
|00003270| 68 61 6e 63 65 44 65 78 | 65 73 2c 6e 64 65 63 6b |hanceDex|es,ndeck|
|00003280| 73 0d 70 75 74 20 63 68 | 61 6e 63 65 50 74 72 20 |s.put ch|ancePtr |
|00003290| 69 6e 74 6f 20 6c 69 6e | 65 20 28 34 34 2b 4e 50 |into lin|e (44+NP|
|000032a0| 29 20 6f 66 20 74 65 6d | 70 0d 72 65 70 65 61 74 |) of tem|p.repeat|
|000032b0| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|000032c0| 64 65 63 6b 73 0d 70 75 | 74 20 6c 69 6e 65 20 69 |decks.pu|t line i|
|000032d0| 20 6f 66 20 63 68 61 6e | 63 65 44 65 78 65 73 20 | of chan|ceDexes |
|000032e0| 69 6e 74 6f 20 6c 69 6e | 65 20 28 34 34 2b 4e 50 |into lin|e (44+NP|
|000032f0| 2b 69 29 20 6f 66 20 74 | 65 6d 70 0d 65 6e 64 20 |+i) of t|emp.end |
|00003300| 72 65 70 65 61 74 0d 69 | 66 20 28 66 6c 67 20 69 |repeat.i|f (flg i|
|00003310| 73 20 22 61 73 22 29 20 | 6f 72 20 28 67 6d 66 6c |s "as") |or (gmfl|
|00003320| 6e 6d 20 69 73 20 65 6d | 70 74 79 29 20 74 68 65 |nm is em|pty) the|
|00003330| 6e 0d 61 73 6b 20 66 69 | 6c 65 20 67 65 74 73 74 |n.ask fi|le getst|
|00003340| 72 28 35 30 29 0d 70 75 | 74 20 74 68 65 20 72 65 |r(50).pu|t the re|
|00003350| 73 75 6c 74 20 69 6e 74 | 6f 20 72 0d 69 66 20 72 |sult int|o r.if r|
|00003360| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 | is empt|y then p|
|00003370| 75 74 20 69 74 20 69 6e | 74 6f 20 67 6d 66 6c 6e |ut it in|to gmfln|
|00003380| 6d 0d 65 6e 64 20 69 66 | 0d 69 66 20 67 6d 66 6c |m.end if|.if gmfl|
|00003390| 6e 6d 20 3c 3e 20 22 22 | 20 74 68 65 6e 0d 6f 70 |nm <> ""| then.op|
|000033a0| 65 6e 20 66 69 6c 65 20 | 67 6d 66 6c 6e 6d 0d 77 |en file |gmflnm.w|
|000033b0| 72 69 74 65 20 74 65 6d | 70 20 74 6f 20 66 69 6c |rite tem|p to fil|
|000033c0| 65 20 67 6d 66 6c 6e 6d | 0d 63 6c 6f 73 65 20 66 |e gmflnm|.close f|
|000033d0| 69 6c 65 20 67 6d 66 6c | 6e 6d 0d 70 75 74 20 66 |ile gmfl|nm.put f|
|000033e0| 61 6c 73 65 20 69 6e 74 | 6f 20 64 69 72 74 79 0d |alse int|o dirty.|
|000033f0| 43 75 73 74 6f 6d 49 63 | 6f 6e 20 22 31 33 31 22 |CustomIc|on "131"|
|00003400| 2c 67 6d 66 6c 6e 6d 2c | 22 54 22 0d 70 75 74 20 |,gmflnm,|"T".put |
|00003410| 63 68 61 6e 67 65 66 69 | 6c 65 74 79 70 65 28 67 |changefi|letype(g|
|00003420| 6d 66 6c 6e 6d 2c 22 4b | 4e 4b 46 22 2c 22 74 74 |mflnm,"K|NKF","tt|
|00003430| 78 74 22 29 20 69 6e 74 | 6f 20 66 0d 65 6e 64 20 |xt") int|o f.end |
|00003440| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 73 61 |if.end i|f.end sa|
|00003450| 76 65 0d 0d 0d 6f 6e 20 | 76 69 73 4f 77 6e 20 70 |ve...on |visOwn p|
|00003460| 72 6f 70 6e 75 6d 2c 6f | 77 6e 65 72 0d 70 75 74 |ropnum,o|wner.put|
|00003470| 20 22 6c 22 20 26 20 70 | 72 6f 70 6e 75 6d 20 69 | "l" & p|ropnum i|
|00003480| 6e 74 6f 20 73 71 72 0d | 70 75 74 20 22 74 69 6e |nto sqr.|put "tin|
|00003490| 79 22 20 26 20 6f 77 6e | 65 72 20 69 6e 74 6f 20 |y" & own|er into |
|000034a0| 69 63 0d 69 66 20 6f 77 | 6e 65 72 20 3c 3e 20 30 |ic.if ow|ner <> 0|
|000034b0| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 69 63 | then.se|t the ic|
|000034c0| 6f 6e 20 6f 66 20 63 64 | 20 62 74 6e 20 73 71 72 |on of cd| btn sqr|
|000034d0| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 20 74 6f | of cd "|Main" to|
|000034e0| 20 69 63 0d 65 6c 73 65 | 0d 73 65 74 20 74 68 65 | ic.else|.set the|
|000034f0| 20 69 63 6f 6e 20 6f 66 | 20 63 64 20 62 74 6e 20 | icon of| cd btn |
|00003500| 73 71 72 20 6f 66 20 63 | 64 20 22 4d 61 69 6e 22 |sqr of c|d "Main"|
|00003510| 20 74 6f 20 30 0d 65 6e | 64 20 69 66 0d 65 6e 64 | to 0.en|d if.end|
|00003520| 20 76 69 73 4f 77 6e 0d | 0d 6f 6e 20 70 73 74 61 | visOwn.|.on psta|
|00003530| 74 75 73 20 76 0d 67 6c | 6f 62 61 6c 20 50 6c 61 |tus v.gl|obal Pla|
|00003540| 79 65 72 4e 75 6d 62 65 | 72 2c 73 74 61 74 75 73 |yerNumbe|r,status|
|00003550| 66 72 6f 6d 2c 47 61 6d | 65 2c 4e 50 0d 69 66 20 |from,Gam|e,NP.if |
|00003560| 4e 50 20 69 73 20 30 20 | 6f 72 20 4e 50 20 69 73 |NP is 0 |or NP is|
|00003570| 20 22 22 20 74 68 65 6e | 0d 66 6c 61 73 68 69 74 | "" then|.flashit|
|00003580| 20 67 65 74 73 74 72 28 | 36 37 29 2c 34 0d 65 78 | getstr(|67),4.ex|
|00003590| 69 74 20 70 73 74 61 74 | 75 73 0d 65 6e 64 20 69 |it pstat|us.end i|
|000035a0| 66 0d 69 66 20 76 20 69 | 73 20 65 6d 70 74 79 20 |f.if v i|s empty |
|000035b0| 74 68 65 6e 0d 70 75 74 | 20 67 65 74 50 6c 61 79 |then.put| getPlay|
|000035c0| 65 72 4e 75 6d 28 67 65 | 74 73 74 72 28 33 29 29 |erNum(ge|tstr(3))|
|000035d0| 20 69 6e 74 6f 20 50 6c | 61 79 65 72 4e 75 6d 62 | into Pl|ayerNumb|
|000035e0| 65 72 0d 65 6c 73 65 0d | 70 75 74 20 76 20 69 6e |er.else.|put v in|
|000035f0| 74 6f 20 50 6c 61 79 65 | 72 4e 75 6d 62 65 72 0d |to Playe|rNumber.|
|00003600| 65 6e 64 20 69 66 0d 70 | 75 74 20 74 68 65 20 73 |end if.p|ut the s|
|00003610| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00003620| 73 20 63 64 20 69 6e 74 | 6f 20 73 74 61 74 75 73 |s cd int|o status|
|00003630| 66 72 6f 6d 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |from.put| "" into|
|00003640| 20 63 64 20 66 6c 64 20 | 22 53 74 61 74 75 73 6c | cd fld |"Statusl|
|00003650| 69 6e 65 22 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ine".loc|k screen|
|00003660| 0d 67 6f 20 63 64 20 22 | 50 6c 61 79 65 72 53 74 |.go cd "|PlayerSt|
|00003670| 61 74 75 73 22 0d 65 6e | 64 20 70 73 74 61 74 75 |atus".en|d pstatu|
|00003680| 73 0d 0d 6f 6e 20 62 61 | 6e 6b 72 75 70 74 20 70 |s..on ba|nkrupt p|
|00003690| 6e 75 6d 0d 67 6c 6f 62 | 61 6c 20 50 50 2c 73 74 |num.glob|al PP,st|
|000036a0| 61 74 75 73 2c 43 72 65 | 64 69 74 6f 72 2c 41 73 |atus,Cre|ditor,As|
|000036b0| 73 65 74 73 2c 4e 50 2c | 4e 61 6d 65 2c 6d 6f 6e |sets,NP,|Name,mon|
|000036c0| 65 79 4f 77 65 64 2c c2 | 0d 75 6e 69 6d 70 72 6f |eyOwed,.|.unimpro|
|000036d0| 76 65 64 2c 62 70 6c 61 | 79 65 72 2c 56 6f 6c 61 |ved,bpla|yer,Vola|
|000036e0| 74 69 6c 65 44 61 74 61 | 2c 68 43 6f 75 6e 74 2c |tileData|,hCount,|
|000036f0| 50 6c 61 79 65 72 2c 47 | 61 6d 65 2c 43 6f 73 74 |Player,G|ame,Cost|
|00003700| 0d 69 66 20 47 61 6d 65 | 20 3c 3e 20 74 72 75 65 |.if Game| <> true|
|00003710| 20 74 68 65 6e 0d 62 65 | 65 70 0d 65 78 69 74 20 | then.be|ep.exit |
|00003720| 62 61 6e 6b 72 75 70 74 | 0d 65 6e 64 20 69 66 0d |bankrupt|.end if.|
|00003730| 69 66 20 70 6e 75 6d 20 | 69 73 20 65 6d 70 74 79 |if pnum |is empty|
|00003740| 20 74 68 65 6e 20 70 75 | 74 20 67 65 74 50 6c 61 | then pu|t getPla|
|00003750| 79 65 72 4e 75 6d 28 67 | 65 74 73 74 72 28 34 29 |yerNum(g|etstr(4)|
|00003760| 29 20 69 6e 74 6f 20 70 | 6e 75 6d 0d 70 75 74 20 |) into p|num.put |
|00003770| 70 6e 75 6d 20 69 6e 74 | 6f 20 62 70 6c 61 79 65 |pnum int|o bplaye|
|00003780| 72 0d 69 66 20 69 74 65 | 6d 20 73 74 61 74 75 73 |r.if ite|m status|
|00003790| 20 6f 66 20 6c 69 6e 65 | 20 70 6e 75 6d 20 6f 66 | of line| pnum of|
|000037a0| 20 50 50 20 69 73 20 22 | 62 61 6e 6b 72 75 70 74 | PP is "|bankrupt|
|000037b0| 22 20 74 68 65 6e 0d 66 | 6c 61 73 68 69 74 20 67 |" then.f|lashit g|
|000037c0| 65 74 73 74 72 28 35 29 | 0d 65 78 69 74 20 62 61 |etstr(5)|.exit ba|
|000037d0| 6e 6b 72 75 70 74 0d 65 | 6e 64 20 69 66 0d 70 75 |nkrupt.e|nd if.pu|
|000037e0| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 6c 69 6e 65 |t item 2| of line|
|000037f0| 20 70 6e 75 6d 20 6f 66 | 20 50 50 20 69 6e 74 6f | pnum of| PP into|
|00003800| 20 70 72 6f 70 73 0d 72 | 65 70 65 61 74 20 77 69 | props.r|epeat wi|
|00003810| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 28 74 68 65 |th i = 1| to (the|
|00003820| 20 6e 75 6d 62 65 72 20 | 6f 66 20 77 6f 72 64 73 | number |of words|
|00003830| 20 6f 66 20 70 72 6f 70 | 73 29 0d 69 66 20 69 74 | of prop|s).if it|
|00003840| 65 6d 20 68 43 6f 75 6e | 74 20 6f 66 20 6c 69 6e |em hCoun|t of lin|
|00003850| 65 20 28 77 6f 72 64 20 | 69 20 6f 66 20 70 72 6f |e (word |i of pro|
|00003860| 70 73 29 20 6f 66 20 56 | 6f 6c 61 74 69 6c 65 44 |ps) of V|olatileD|
|00003870| 61 74 61 20 3c 3e 20 30 | 20 74 68 65 6e 0d 66 6c |ata <> 0| then.fl|
|00003880| 61 73 68 69 74 20 67 65 | 74 73 74 72 28 36 29 2c |ashit ge|tstr(6),|
|00003890| 34 0d 65 78 69 74 20 62 | 61 6e 6b 72 75 70 74 0d |4.exit b|ankrupt.|
|000038a0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|000038b0| 74 0d 68 69 64 65 20 63 | 64 20 62 74 6e 20 28 22 |t.hide c|d btn ("|
|000038c0| 74 6f 6b 65 6e 22 26 70 | 6e 75 6d 29 20 6f 66 20 |token"&p|num) of |
|000038d0| 63 64 20 22 4d 61 69 6e | 22 0d 73 65 74 20 74 68 |cd "Main|".set th|
|000038e0| 65 20 6c 6f 63 20 6f 66 | 20 63 64 20 62 74 6e 20 |e loc of| cd btn |
|000038f0| 28 22 74 6f 6b 65 6e 22 | 26 70 6e 75 6d 29 20 6f |("token"|&pnum) o|
|00003900| 66 20 63 64 20 22 4d 61 | 69 6e 22 20 74 6f 20 74 |f cd "Ma|in" to t|
|00003910| 68 65 20 6c 6f 63 20 6f | 66 20 63 64 20 66 6c 64 |he loc o|f cd fld|
|00003920| 20 22 54 69 74 6c 65 22 | 0d 69 66 20 69 74 65 6d | "Title"|.if item|
|00003930| 20 43 72 65 64 69 74 6f | 72 20 6f 66 20 6c 69 6e | Credito|r of lin|
|00003940| 65 20 70 6e 75 6d 20 6f | 66 20 50 50 20 3c 3e 20 |e pnum o|f PP <> |
|00003950| 22 22 20 74 68 65 6e 0d | 70 75 74 20 69 74 65 6d |"" then.|put item|
|00003960| 20 43 72 65 64 69 74 6f | 72 20 6f 66 20 6c 69 6e | Credito|r of lin|
|00003970| 65 20 70 6e 75 6d 20 6f | 66 20 50 50 20 69 6e 74 |e pnum o|f PP int|
|00003980| 6f 20 63 0d 65 6c 73 65 | 0d 70 75 74 20 30 20 69 |o c.else|.put 0 i|
|00003990| 6e 74 6f 20 63 0d 65 6e | 64 20 69 66 0d 70 75 74 |nto c.en|d if.put|
|000039a0| 20 69 74 65 6d 20 4d 6f | 6e 65 79 4f 77 65 64 20 | item Mo|neyOwed |
|000039b0| 6f 66 20 6c 69 6e 65 20 | 70 6e 75 6d 20 6f 66 20 |of line |pnum of |
|000039c0| 50 50 20 69 6e 74 6f 20 | 6d 6f 0d 70 75 74 20 69 |PP into |mo.put i|
|000039d0| 74 65 6d 20 31 20 6f 66 | 20 6c 69 6e 65 20 63 20 |tem 1 of| line c |
|000039e0| 6f 66 20 50 50 20 69 6e | 74 6f 20 63 6e 61 6d 65 |of PP in|to cname|
|000039f0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00003a00| 20 31 20 74 6f 20 28 74 | 68 65 20 6e 75 6d 62 65 | 1 to (t|he numbe|
|00003a10| 72 20 6f 66 20 77 6f 72 | 64 73 20 6f 66 20 70 72 |r of wor|ds of pr|
|00003a20| 6f 70 73 29 0d 69 66 20 | 6d 6f 20 3c 20 30 20 74 |ops).if |mo < 0 t|
|00003a30| 68 65 6e 0d 62 75 73 69 | 6e 65 73 73 20 30 2c 28 |hen.busi|ness 0,(|
|00003a40| 77 6f 72 64 20 69 20 6f | 66 20 70 72 6f 70 73 29 |word i o|f props)|
|00003a50| 2c 70 6e 75 6d 2c 63 0d | 70 75 74 20 69 74 65 6d |,pnum,c.|put item|
|00003a60| 20 43 6f 73 74 20 6f 66 | 20 6c 69 6e 65 20 28 77 | Cost of| line (w|
|00003a70| 6f 72 64 20 31 20 6f 66 | 20 70 72 6f 70 73 29 20 |ord 1 of| props) |
|00003a80| 6f 66 20 4b 44 61 74 61 | 20 69 6e 74 6f 20 76 61 |of KData| into va|
|00003a90| 6c 0d 73 75 62 74 72 61 | 63 74 20 76 61 6c 20 66 |l.subtra|ct val f|
|00003aa0| 72 6f 6d 20 6d 6f 0d 65 | 6c 73 65 0d 70 75 74 20 |rom mo.e|lse.put |
|00003ab0| 61 75 63 74 69 6f 6e 20 | 28 28 77 6f 72 64 20 69 |auction |((word i|
|00003ac0| 20 6f 66 20 70 72 6f 70 | 73 29 2c 30 29 20 69 6e | of prop|s),0) in|
|00003ad0| 74 6f 20 78 0d 64 65 6c | 65 74 65 20 77 6f 72 64 |to x.del|ete word|
|00003ae0| 20 69 20 6f 66 20 69 74 | 65 6d 20 32 20 6f 66 20 | i of it|em 2 of |
|00003af0| 6c 69 6e 65 20 70 6e 75 | 6d 20 6f 66 20 50 50 0d |line pnu|m of PP.|
|00003b00| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00003b10| 74 0d 68 69 64 65 20 63 | 64 20 62 74 6e 20 28 22 |t.hide c|d btn ("|
|00003b20| 74 6f 6b 65 6e 22 26 70 | 6e 75 6d 29 0d 70 75 74 |token"&p|num).put|
|00003b30| 20 22 62 61 6e 6b 72 75 | 70 74 22 20 69 6e 74 6f | "bankru|pt" into|
|00003b40| 20 69 74 65 6d 20 73 74 | 61 74 75 73 20 6f 66 20 | item st|atus of |
|00003b50| 6c 69 6e 65 20 70 6e 75 | 6d 20 6f 66 20 50 50 0d |line pnu|m of PP.|
|00003b60| 70 75 74 20 22 2a 2a 2a | 2a 22 20 69 6e 74 6f 20 |put "***|*" into |
|00003b70| 63 64 20 66 6c 64 20 28 | 22 61 76 63 61 73 68 22 |cd fld (|"avcash"|
|00003b80| 26 70 6e 75 6d 29 0d 70 | 6c 61 79 63 20 22 62 61 |&pnum).p|layc "ba|
|00003b90| 6e 6b 72 75 70 74 22 0d | 70 75 74 20 22 22 20 69 |nkrupt".|put "" i|
|00003ba0| 6e 74 6f 20 62 70 6c 61 | 79 65 72 0d 2d 2d 20 3e |nto bpla|yer.-- >|
|00003bb0| 31 20 62 72 3f 0d 70 75 | 74 20 30 20 69 6e 74 6f |1 br?.pu|t 0 into|
|00003bc0| 20 61 63 74 69 76 65 73 | 0d 69 66 20 50 6c 61 79 | actives|.if Play|
|00003bd0| 65 72 20 3d 20 70 6e 75 | 6d 20 74 68 65 6e 20 6e |er = pnu|m then n|
|00003be0| 65 78 74 50 6c 61 79 65 | 72 0d 72 65 70 65 61 74 |extPlaye|r.repeat|
|00003bf0| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 4e | with i |= 1 to N|
|00003c00| 50 0d 69 66 20 69 74 65 | 6d 20 73 74 61 74 75 73 |P.if ite|m status|
|00003c10| 20 6f 66 20 6c 69 6e 65 | 20 69 20 6f 66 20 50 50 | of line| i of PP|
|00003c20| 20 3c 3e 20 22 62 61 6e | 6b 72 75 70 74 22 20 74 | <> "ban|krupt" t|
|00003c30| 68 65 6e 0d 61 64 64 20 | 31 20 74 6f 20 61 63 74 |hen.add |1 to act|
|00003c40| 69 76 65 73 0d 70 75 74 | 20 69 20 69 6e 74 6f 20 |ives.put| i into |
|00003c50| 6e 6f 74 62 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |notb.end| if.end |
|00003c60| 72 65 70 65 61 74 0d 69 | 66 20 61 63 74 69 76 65 |repeat.i|f active|
|00003c70| 73 20 3d 20 31 20 74 68 | 65 6e 0d 66 6c 61 73 68 |s = 1 th|en.flash|
|00003c80| 69 74 20 69 74 65 6d 20 | 4e 61 6d 65 20 6f 66 20 |it item |Name of |
|00003c90| 6c 69 6e 65 20 6e 6f 74 | 62 20 6f 66 20 50 50 20 |line not|b of PP |
|00003ca0| 26 20 67 65 74 73 74 72 | 28 37 29 2c 31 30 0d 70 |& getstr|(7),10.p|
|00003cb0| 6c 61 79 63 20 22 61 70 | 70 6c 61 75 73 65 22 0d |layc "ap|plause".|
|00003cc0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 47 |put fals|e into G|
|00003cd0| 61 6d 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 62 |ame.end |if.end b|
|00003ce0| 61 6e 6b 72 75 70 74 0d | 0d 6f 6e 20 67 65 74 49 |ankrupt.|.on getI|
|00003cf0| 6e 66 6f 20 4e 4e 0d 67 | 6c 6f 62 61 6c 20 56 6f |nfo NN.g|lobal Vo|
|00003d00| 6c 61 74 69 6c 65 44 61 | 74 61 2c 4d 6f 6e 6f 70 |latileDa|ta,Monop|
|00003d10| 73 2c 4b 44 61 74 61 2c | 46 72 65 65 53 51 0d 67 |s,KData,|FreeSQ.g|
|00003d20| 6c 6f 62 61 6c 20 54 69 | 74 6c 65 52 65 63 74 0d |lobal Ti|tleRect.|
|00003d30| 69 66 20 6e 6f 74 28 74 | 68 65 72 65 20 69 73 20 |if not(t|here is |
|00003d40| 61 20 63 64 20 66 6c 64 | 20 22 54 69 74 6c 65 22 |a cd fld| "Title"|
|00003d50| 29 20 74 68 65 6e 20 65 | 78 69 74 20 67 65 74 49 |) then e|xit getI|
|00003d60| 6e 66 6f 0d 69 66 20 74 | 68 65 20 76 69 73 69 62 |nfo.if t|he visib|
|00003d70| 6c 65 20 6f 66 20 63 64 | 20 66 6c 64 20 22 43 48 |le of cd| fld "CH|
|00003d80| 4e 43 22 20 74 68 65 6e | 20 63 6c 69 63 6b 20 61 |NC" then| click a|
|00003d90| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 63 64 20 |t the lo|c of cd |
|00003da0| 66 6c 64 20 22 54 69 74 | 6c 65 22 0d 6c 6f 63 6b |fld "Tit|le".lock|
|00003db0| 20 73 63 72 65 65 6e 0d | 70 75 74 20 63 64 20 66 | screen.|put cd f|
|00003dc0| 6c 64 20 28 22 54 69 74 | 6c 65 22 26 4e 4e 29 20 |ld ("Tit|le"&NN) |
|00003dd0| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 22 54 69 74 |into cd |fld "Tit|
|00003de0| 6c 65 22 0d 73 68 6f 77 | 20 63 64 20 66 6c 64 20 |le".show| cd fld |
|00003df0| 28 22 54 69 74 6c 65 22 | 29 0d 73 65 74 20 74 68 |("Title"|).set th|
|00003e00| 65 20 74 65 78 74 53 69 | 7a 65 20 6f 66 20 6c 69 |e textSi|ze of li|
|00003e10| 6e 65 20 31 20 6f 66 20 | 63 64 20 66 6c 64 20 22 |ne 1 of |cd fld "|
|00003e20| 54 69 74 6c 65 22 20 74 | 6f 20 31 38 0d 73 65 74 |Title" t|o 18.set|
|00003e30| 20 74 68 65 20 74 65 78 | 74 53 74 79 6c 65 20 6f | the tex|tStyle o|
|00003e40| 66 20 6c 69 6e 65 20 31 | 20 6f 66 20 63 64 20 66 |f line 1| of cd f|
|00003e50| 6c 64 20 22 54 69 74 6c | 65 22 20 74 6f 20 62 6f |ld "Titl|e" to bo|
|00003e60| 6c 64 0d 73 65 74 20 74 | 68 65 20 74 65 78 74 46 |ld.set t|he textF|
|00003e70| 6f 6e 74 20 6f 66 20 6c | 69 6e 65 20 31 20 6f 66 |ont of l|ine 1 of|
|00003e80| 20 63 64 20 66 6c 64 20 | 22 54 69 74 6c 65 22 20 | cd fld |"Title" |
|00003e90| 74 6f 20 47 65 6e 65 76 | 61 0d 70 75 74 20 69 74 |to Genev|a.put it|
|00003ea0| 65 6d 20 38 20 6f 66 20 | 6c 69 6e 65 20 4e 4e 20 |em 8 of |line NN |
|00003eb0| 6f 66 20 4b 44 61 74 61 | 20 69 6e 74 6f 20 6d 6e |of KData| into mn|
|00003ec0| 0d 69 66 20 20 28 6d 6e | 20 3c 3e 20 30 20 61 6e |.if (mn| <> 0 an|
|00003ed0| 64 20 6d 6e 20 3c 3e 20 | 22 22 29 20 61 6e 64 20 |d mn <> |"") and |
|00003ee0| 28 69 74 65 6d 20 33 20 | 6f 66 20 6c 69 6e 65 20 |(item 3 |of line |
|00003ef0| 6d 6e 20 20 6f 66 20 4d | 6f 6e 6f 70 73 29 20 3c |mn of M|onops) <|
|00003f00| 3e 20 2d 31 20 74 68 65 | 6e 0d 72 65 70 65 61 74 |> -1 the|n.repeat|
|00003f10| 20 77 69 74 68 20 6a 6a | 20 3d 20 31 20 74 6f 20 | with jj| = 1 to |
|00003f20| 32 0d 69 66 20 63 68 61 | 72 20 31 20 6f 66 20 6c |2.if cha|r 1 of l|
|00003f30| 69 6e 65 20 31 20 6f 66 | 20 63 64 20 66 6c 64 20 |ine 1 of| cd fld |
|00003f40| 22 54 69 74 6c 65 22 20 | 69 73 20 22 20 22 20 74 |"Title" |is " " t|
|00003f50| 68 65 6e 0d 64 65 6c 65 | 74 65 20 63 68 61 72 20 |hen.dele|te char |
|00003f60| 31 20 6f 66 20 63 64 20 | 66 6c 64 20 22 54 69 74 |1 of cd |fld "Tit|
|00003f70| 6c 65 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |le".end |if.end r|
|00003f80| 65 70 65 61 74 0d 72 65 | 70 65 61 74 20 77 69 74 |epeat.re|peat wit|
|00003f90| 68 20 6a 6a 20 3d 20 31 | 20 74 6f 20 28 74 68 65 |h jj = 1| to (the|
|00003fa0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 68 61 72 73 | number |of chars|
|00003fb0| 20 6f 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 63 64 | of line| 1 of cd|
|00003fc0| 20 66 6c 64 20 22 54 69 | 74 6c 65 22 29 0d 69 66 | fld "Ti|tle").if|
|00003fd0| 20 63 68 61 72 20 6a 6a | 20 6f 66 20 6c 69 6e 65 | char jj| of line|
|00003fe0| 20 31 20 6f 66 20 63 64 | 20 66 6c 64 20 22 54 69 | 1 of cd| fld "Ti|
|00003ff0| 74 6c 65 22 20 3c 3e 20 | 22 20 22 20 74 68 65 6e |tle" <> |" " then|
|00004000| 0d 70 75 74 20 22 2a 20 | 22 20 62 65 66 6f 72 65 |.put "* |" before|
|00004010| 20 63 68 61 72 20 6a 6a | 20 6f 66 20 6c 69 6e 65 | char jj| of line|
|00004020| 20 31 20 6f 66 20 63 64 | 20 66 6c 64 20 22 54 69 | 1 of cd| fld "Ti|
|00004030| 74 6c 65 22 0d 65 78 69 | 74 20 72 65 70 65 61 74 |tle".exi|t repeat|
|00004040| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00004050| 61 74 0d 70 75 74 20 22 | 20 2a 22 20 61 66 74 65 |at.put "| *" afte|
|00004060| 72 20 6c 69 6e 65 20 31 | 20 6f 66 20 63 64 20 66 |r line 1| of cd f|
|00004070| 6c 64 20 22 54 69 74 6c | 65 22 0d 65 6e 64 20 69 |ld "Titl|e".end i|
|00004080| 66 0d 69 66 20 6c 69 6e | 65 20 31 31 20 6f 66 20 |f.if lin|e 11 of |
|00004090| 63 64 20 66 6c 64 20 22 | 54 69 74 6c 65 22 20 3c |cd fld "|Title" <|
|000040a0| 3e 20 22 4f 77 6e 65 64 | 20 62 79 22 20 74 68 65 |> "Owned| by" the|
|000040b0| 6e 0d 73 65 74 20 74 68 | 65 20 74 65 78 74 53 74 |n.set th|e textSt|
|000040c0| 79 6c 65 20 6f 66 20 6c | 69 6e 65 20 31 31 20 6f |yle of l|ine 11 o|
|000040d0| 66 20 63 64 20 66 6c 64 | 20 22 54 69 74 6c 65 22 |f cd fld| "Title"|
|000040e0| 20 74 6f 20 62 6f 6c 64 | 2c 6f 75 74 6c 69 6e 65 | to bold|,outline|
|000040f0| 0d 65 6e 64 20 69 66 0d | 69 66 20 4e 4e 20 3d 20 |.end if.|if NN = |
|00004100| 66 72 65 65 53 51 20 74 | 68 65 6e 0d 73 65 74 20 |freeSQ t|hen.set |
|00004110| 74 68 65 20 74 65 78 74 | 53 74 79 6c 65 20 6f 66 |the text|Style of|
|00004120| 20 6c 69 6e 65 20 34 20 | 6f 66 20 63 64 20 66 6c | line 4 |of cd fl|
|00004130| 64 20 22 54 69 74 6c 65 | 22 20 74 6f 20 62 6f 6c |d "Title|" to bol|
|00004140| 64 2c 6f 75 74 6c 69 6e | 65 0d 73 65 74 20 74 68 |d,outlin|e.set th|
|00004150| 65 20 74 65 78 74 53 69 | 7a 65 20 6f 66 20 6c 69 |e textSi|ze of li|
|00004160| 6e 65 20 34 20 6f 66 20 | 63 64 20 66 6c 64 20 22 |ne 4 of |cd fld "|
|00004170| 54 69 74 6c 65 22 20 74 | 6f 20 31 38 0d 65 6e 64 |Title" t|o 18.end|
|00004180| 20 69 66 0d 73 65 6e 64 | 20 63 6f 6c 6f 72 4d 65 | if.send| colorMe|
|00004190| 20 74 6f 20 74 68 69 73 | 20 63 64 0d 2d 2d 63 6f | to this| cd.--co|
|000041a0| 6c 6f 72 4d 65 0d 64 69 | 73 70 6c 61 79 52 65 63 |lorMe.di|splayRec|
|000041b0| 74 20 4e 4e 2c 54 69 74 | 6c 65 52 65 63 74 0d 69 |t NN,Tit|leRect.i|
|000041c0| 66 20 69 74 65 6d 20 33 | 20 6f 66 20 6c 69 6e 65 |f item 3| of line|
|000041d0| 20 4e 4e 20 6f 66 20 56 | 6f 6c 61 74 69 6c 65 44 | NN of V|olatileD|
|000041e0| 61 74 61 20 3d 20 22 4d | 22 20 74 68 65 6e 0d 70 |ata = "M|" then.p|
|000041f0| 75 74 20 74 68 65 20 74 | 6f 70 4c 65 66 74 20 6f |ut the t|opLeft o|
|00004200| 66 20 63 64 20 66 6c 64 | 20 22 54 69 74 6c 65 22 |f cd fld| "Title"|
|00004210| 20 69 6e 74 6f 20 74 6f | 70 6c 0d 61 64 64 20 32 | into to|pl.add 2|
|00004220| 35 20 74 6f 20 69 74 65 | 6d 20 31 20 6f 66 20 74 |5 to ite|m 1 of t|
|00004230| 6f 70 6c 0d 61 64 64 20 | 37 35 20 74 6f 20 69 74 |opl.add |75 to it|
|00004240| 65 6d 20 32 20 6f 66 20 | 74 6f 70 6c 0d 41 64 64 |em 2 of |topl.Add|
|00004250| 43 6f 6c 6f 72 20 63 6f | 6c 6f 72 50 69 63 74 2c |Color co|lorPict,|
|00004260| 63 64 2c 22 6d 6f 72 74 | 22 2c 74 6f 70 6c 2c 22 |cd,"mort|",topl,"|
|00004270| 74 22 0d 65 6e 64 20 69 | 66 0d 75 6e 6c 6f 63 6b |t".end i|f.unlock|
|00004280| 20 73 63 72 65 65 6e 0d | 65 6e 64 20 67 65 74 49 | screen.|end getI|
|00004290| 6e 66 6f 0d 0d 66 75 6e | 63 74 69 6f 6e 20 67 65 |nfo..fun|ction ge|
|000042a0| 74 50 6c 61 79 65 72 4e | 75 6d 20 78 2c 64 65 6c |tPlayerN|um x,del|
|000042b0| 61 79 2c 70 72 6f 70 0d | 67 6c 6f 62 61 6c 20 6e |ay,prop.|global n|
|000042c0| 61 6d 65 52 65 63 74 2c | 66 6c 61 73 68 53 70 65 |ameRect,|flashSpe|
|000042d0| 65 64 2c 5a 61 70 4e 75 | 6d 0d 67 6c 6f 62 61 6c |ed,ZapNu|m.global|
|000042e0| 20 72 62 61 73 65 2c 6c | 69 74 0d 70 75 74 20 66 | rbase,l|it.put f|
|000042f0| 61 6c 73 65 20 69 6e 74 | 6f 20 66 6f 75 6e 64 0d |alse int|o found.|
|00004300| 70 75 74 20 74 68 65 20 | 54 69 63 6b 73 20 69 6e |put the |Ticks in|
|00004310| 74 6f 20 73 74 0d 69 66 | 20 70 72 6f 70 20 3c 3e |to st.if| prop <>|
|00004320| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 70 75 74 20 | empty t|hen put |
|00004330| 22 62 22 26 70 72 6f 70 | 20 69 6e 74 6f 20 62 75 |"b"&prop| into bu|
|00004340| 74 0d 70 75 74 20 78 20 | 69 6e 74 6f 20 63 64 20 |t.put x |into cd |
|00004350| 66 6c 64 20 22 73 74 61 | 74 75 73 6c 69 6e 65 22 |fld "sta|tusline"|
|00004360| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 0d 72 65 | of cd "|Main".re|
|00004370| 70 65 61 74 20 75 6e 74 | 69 6c 20 66 6f 75 6e 64 |peat unt|il found|
|00004380| 20 69 73 20 74 72 75 65 | 0d 72 65 70 65 61 74 20 | is true|.repeat |
|00004390| 75 6e 74 69 6c 20 74 68 | 65 20 6d 6f 75 73 65 63 |until th|e mousec|
|000043a0| 6c 69 63 6b 0d 70 75 74 | 20 70 6f 6c 6c 6b 62 64 |lick.put| pollkbd|
|000043b0| 28 29 20 69 6e 74 6f 20 | 6b 0d 69 66 20 6b 20 3c |() into |k.if k <|
|000043c0| 3e 20 66 61 6c 73 65 20 | 74 68 65 6e 0d 63 6c 69 |> false |then.cli|
|000043d0| 63 6b 20 61 74 20 74 68 | 65 20 6c 6f 63 20 6f 66 |ck at th|e loc of|
|000043e0| 20 63 64 20 62 74 6e 20 | 28 72 62 61 73 65 2b 6b | cd btn |(rbase+k|
|000043f0| 2d 31 29 0d 72 65 74 75 | 72 6e 20 6b 0d 65 6e 64 |-1).retu|rn k.end|
|00004400| 20 69 66 0d 69 66 20 7a | 61 70 4e 75 6d 20 3c 3e | if.if z|apNum <>|
|00004410| 20 22 22 20 74 68 65 6e | 0d 70 75 74 20 7a 61 70 | "" then|.put zap|
|00004420| 4e 75 6d 20 69 6e 74 6f | 20 69 0d 70 75 74 20 22 |Num into| i.put "|
|00004430| 22 20 69 6e 74 6f 20 5a | 61 70 4e 75 6d 0d 72 65 |" into Z|apNum.re|
|00004440| 74 75 72 6e 20 5a 61 70 | 4e 75 6d 0d 65 6e 64 20 |turn Zap|Num.end |
|00004450| 69 66 0d 68 69 64 65 20 | 63 64 20 66 6c 64 20 22 |if.hide |cd fld "|
|00004460| 73 74 61 74 75 73 6c 69 | 6e 65 22 20 6f 66 20 63 |statusli|ne" of c|
|00004470| 64 20 22 4d 61 69 6e 22 | 0d 77 61 69 74 20 66 6c |d "Main"|.wait fl|
|00004480| 61 73 68 53 70 65 65 64 | 0d 69 66 20 70 72 6f 70 |ashSpeed|.if prop|
|00004490| 20 3c 3e 20 65 6d 70 74 | 79 20 74 68 65 6e 20 73 | <> empt|y then s|
|000044a0| 65 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |et the h|ilite of|
|000044b0| 20 63 64 20 62 74 6e 20 | 62 75 74 20 74 6f c2 0d | cd btn |but to..|
|000044c0| 6e 6f 74 28 74 68 65 20 | 68 69 6c 69 74 65 20 6f |not(the |hilite o|
|000044d0| 66 20 63 64 20 62 74 6e | 20 62 75 74 29 0d 69 66 |f cd btn| but).if|
|000044e0| 20 64 65 6c 61 79 20 3c | 3e 20 22 22 20 74 68 65 | delay <|> "" the|
|000044f0| 6e 0d 73 68 6f 77 20 63 | 64 20 66 6c 64 20 22 73 |n.show c|d fld "s|
|00004500| 74 61 74 75 73 6c 69 6e | 65 22 20 6f 66 20 63 64 |tatuslin|e" of cd|
|00004510| 20 22 4d 61 69 6e 22 0d | 77 61 69 74 20 66 6c 61 | "Main".|wait fla|
|00004520| 73 68 53 70 65 65 64 0d | 69 66 20 70 72 6f 70 20 |shSpeed.|if prop |
|00004530| 3c 3e 20 65 6d 70 74 79 | 20 74 68 65 6e 20 73 65 |<> empty| then se|
|00004540| 74 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |t the hi|lite of |
|00004550| 63 64 20 62 74 6e 20 62 | 75 74 20 74 6f c2 0d 6e |cd btn b|ut to..n|
|00004560| 6f 74 28 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |ot(the h|ilite of|
|00004570| 20 63 64 20 62 74 6e 20 | 62 75 74 29 0d 69 66 20 | cd btn |but).if |
|00004580| 28 74 68 65 20 54 69 63 | 6b 73 20 2d 20 73 74 29 |(the Tic|ks - st)|
|00004590| 20 3e 20 64 65 6c 61 79 | 20 74 68 65 6e 20 72 65 | > delay| then re|
|000045a0| 74 75 72 6e 28 22 54 69 | 6d 65 4f 75 74 22 29 0d |turn("Ti|meOut").|
|000045b0| 65 6e 64 20 69 66 0d 73 | 68 6f 77 20 63 64 20 66 |end if.s|how cd f|
|000045c0| 6c 64 20 22 73 74 61 74 | 75 73 6c 69 6e 65 22 20 |ld "stat|usline" |
|000045d0| 6f 66 20 63 64 20 22 4d | 61 69 6e 22 0d 69 66 20 |of cd "M|ain".if |
|000045e0| 70 72 6f 70 20 3c 3e 20 | 65 6d 70 74 79 20 74 68 |prop <> |empty th|
|000045f0| 65 6e 20 73 65 74 20 74 | 68 65 20 68 69 6c 69 74 |en set t|he hilit|
|00004600| 65 20 6f 66 20 63 64 20 | 62 74 6e 20 62 75 74 20 |e of cd |btn but |
|00004610| 74 6f c2 0d 6e 6f 74 28 | 74 68 65 20 68 69 6c 69 |to..not(|the hili|
|00004620| 74 65 20 6f 66 20 63 64 | 20 62 74 6e 20 62 75 74 |te of cd| btn but|
|00004630| 29 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 69 66 20 |).end re|peat.if |
|00004640| 74 68 65 20 63 6c 69 63 | 6b 4c 6f 63 20 69 73 20 |the clic|kLoc is |
|00004650| 77 69 74 68 69 6e 20 6e | 61 6d 65 52 65 63 74 20 |within n|ameRect |
|00004660| 74 68 65 6e 20 70 75 74 | 20 74 72 75 65 20 69 6e |then put| true in|
|00004670| 74 6f 20 66 6f 75 6e 64 | 0d 69 66 20 74 68 65 20 |to found|.if the |
|00004680| 63 6c 69 63 6b 4c 6f 63 | 20 69 73 20 77 69 74 68 |clickLoc| is with|
|00004690| 69 6e 20 74 68 65 20 72 | 65 63 74 20 6f 66 20 63 |in the r|ect of c|
|000046a0| 64 20 62 74 6e 20 22 41 | 62 6f 72 74 20 41 75 63 |d btn "A|bort Auc|
|000046b0| 74 69 6f 6e 22 20 61 6e | 64 20 c2 0d 28 74 68 65 |tion" an|d ..(the|
|000046c0| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 63 64 20 62 | visible| of cd b|
|000046d0| 74 6e 20 22 41 62 6f 72 | 74 20 41 75 63 74 69 6f |tn "Abor|t Auctio|
|000046e0| 6e 22 29 20 74 68 65 6e | 0d 70 75 74 20 74 72 75 |n") then|.put tru|
|000046f0| 65 20 69 6e 74 6f 20 66 | 6f 75 6e 64 0d 70 75 74 |e into f|ound.put|
|00004700| 20 74 72 75 65 20 69 6e | 74 6f 20 4b 69 6c 6c 41 | true in|to KillA|
|00004710| 75 63 74 69 6f 6e 0d 65 | 6e 64 20 69 66 0d 65 6e |uction.e|nd if.en|
|00004720| 64 20 72 65 70 65 61 74 | 0d 63 6c 69 63 6b 20 61 |d repeat|.click a|
|00004730| 74 20 74 68 65 20 43 6c | 69 63 6b 4c 6f 63 0d 69 |t the Cl|ickLoc.i|
|00004740| 66 20 4b 69 6c 6c 41 75 | 63 74 69 6f 6e 20 69 73 |f KillAu|ction is|
|00004750| 20 74 72 75 65 20 74 68 | 65 6e 20 72 65 74 75 72 | true th|en retur|
|00004760| 6e 20 30 0d 72 65 74 75 | 72 6e 28 20 6c 69 74 2d |n 0.retu|rn( lit-|
|00004770| 72 62 61 73 65 2b 31 29 | 0d 65 6e 64 20 67 65 74 |rbase+1)|.end get|
|00004780| 50 6c 61 79 65 72 4e 75 | 6d 0d 0d 6f 6e 20 73 65 |PlayerNu|m..on se|
|00004790| 74 4f 6c 64 47 61 6d 65 | 0d 67 6c 6f 62 61 6c 20 |tOldGame|.global |
|000047a0| 4d 6f 6e 6f 70 73 2c 56 | 6f 6c 61 74 69 6c 65 44 |Monops,V|olatileD|
|000047b0| 61 74 61 2c 50 50 2c 4b | 44 61 74 61 2c 4e 50 2c |ata,PP,K|Data,NP,|
|000047c0| 47 61 6d 65 2c c2 0d 44 | 69 72 65 63 74 69 6f 6e |Game,..D|irection|
|000047d0| 2c 6e 61 6d 65 52 65 63 | 74 2c 74 6f 6b 4e 6f 2c |,nameRec|t,tokNo,|
|000047e0| 4d 6f 72 74 4c 69 73 74 | 2c 62 65 67 74 6f 6b 0d |MortList|,begtok.|
|000047f0| 6f 70 65 6e 63 61 72 64 | 0d 70 75 74 20 22 22 20 |opencard|.put "" |
|00004800| 69 6e 74 6f 20 4d 6f 72 | 74 4c 69 73 74 0d 6c 6f |into Mor|tList.lo|
|00004810| 63 6b 20 73 63 72 65 65 | 6e 0d 72 65 70 65 61 74 |ck scree|n.repeat|
|00004820| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 34 | with i |= 1 to 4|
|00004830| 30 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |0.set th|e cursor|
|00004840| 20 74 6f 20 62 75 73 79 | 0d 70 75 74 20 6c 69 6e | to busy|.put lin|
|00004850| 65 20 69 20 6f 66 20 56 | 6f 6c 61 74 69 6c 65 44 |e i of V|olatileD|
|00004860| 61 74 61 20 69 6e 74 6f | 20 74 68 65 50 72 6f 70 |ata into| theProp|
|00004870| 0d 69 66 20 69 74 65 6d | 20 31 20 6f 66 20 74 68 |.if item| 1 of th|
|00004880| 65 50 72 6f 70 20 3e 20 | 30 20 74 68 65 6e 0d 70 |eProp > |0 then.p|
|00004890| 75 74 20 22 74 69 6e 79 | 22 26 28 69 74 65 6d 20 |ut "tiny|"&(item |
|000048a0| 31 20 6f 66 20 74 68 65 | 50 72 6f 70 29 20 69 6e |1 of the|Prop) in|
|000048b0| 74 6f 20 69 63 0d 73 65 | 74 20 74 68 65 20 69 63 |to ic.se|t the ic|
|000048c0| 6f 6e 20 6f 66 20 63 64 | 20 62 74 6e 20 28 22 6c |on of cd| btn ("l|
|000048d0| 22 26 69 29 20 6f 66 20 | 63 64 20 22 4d 61 69 6e |"&i) of |cd "Main|
|000048e0| 22 20 74 6f 20 69 63 0d | 65 6e 64 20 69 66 0d 69 |" to ic.|end if.i|
|000048f0| 66 20 69 74 65 6d 20 32 | 20 6f 66 20 74 68 65 50 |f item 2| of theP|
|00004900| 72 6f 70 20 3e 20 30 20 | 74 68 65 6e 0d 67 6c 6f |rop > 0 |then.glo|
|00004910| 62 61 6c 20 4d 6f 6e 6f | 70 0d 70 75 74 20 69 74 |bal Mono|p.put it|
|00004920| 65 6d 20 4d 6f 6e 6f 70 | 20 6f 66 20 6c 69 6e 65 |em Monop| of line|
|00004930| 20 69 20 6f 66 20 4b 44 | 61 74 61 20 69 6e 74 6f | i of KD|ata into|
|00004940| 20 6d 6e 6f 0d 70 75 74 | 20 69 74 65 6d 20 34 20 | mno.put| item 4 |
|00004950| 6f 66 20 6c 69 6e 65 20 | 6d 6e 6f 20 6f 66 20 4d |of line |mno of M|
|00004960| 6f 6e 6f 70 73 20 69 6e | 74 6f 20 6d 61 78 0d 70 |onops in|to max.p|
|00004970| 75 74 20 69 74 65 6d 20 | 44 69 72 65 63 74 69 6f |ut item |Directio|
|00004980| 6e 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 20 4b |n of lin|e i of K|
|00004990| 44 61 74 61 20 69 6e 74 | 6f 20 69 63 0d 70 75 74 |Data int|o ic.put|
|000049a0| 20 53 51 54 79 70 65 28 | 69 29 20 69 6e 74 6f 20 | SQType(|i) into |
|000049b0| 73 71 74 0d 69 66 20 73 | 71 74 20 3d 20 22 46 61 |sqt.if s|qt = "Fa|
|000049c0| 72 6d 22 20 74 68 65 6e | 20 70 75 74 20 22 63 22 |rm" then| put "c"|
|000049d0| 20 69 6e 74 6f 20 69 78 | 20 65 6c 73 65 20 70 75 | into ix| else pu|
|000049e0| 74 20 22 68 22 20 69 6e | 74 6f 20 69 78 0d 69 66 |t "h" in|to ix.if|
|000049f0| 20 69 74 65 6d 20 32 20 | 6f 66 20 74 68 65 50 72 | item 2 |of thePr|
|00004a00| 6f 70 20 3e 3d 20 6d 61 | 78 20 61 6e 64 20 73 71 |op >= ma|x and sq|
|00004a10| 74 20 3d 20 22 43 6f 6c | 6f 72 22 20 74 68 65 6e |t = "Col|or" then|
|00004a20| 0d 70 75 74 20 69 63 20 | 26 20 22 68 6f 74 65 6c |.put ic |& "hotel|
|00004a30| 22 20 69 6e 74 6f 20 69 | 63 0d 65 6c 73 65 0d 70 |" into i|c.else.p|
|00004a40| 75 74 20 69 63 20 26 20 | 69 78 20 26 20 28 69 74 |ut ic & |ix & (it|
|00004a50| 65 6d 20 32 20 6f 66 20 | 74 68 65 50 72 6f 70 29 |em 2 of |theProp)|
|00004a60| 20 69 6e 74 6f 20 69 63 | 0d 65 6e 64 20 69 66 0d | into ic|.end if.|
|00004a70| 73 65 74 20 74 68 65 20 | 69 63 6f 6e 20 6f 66 20 |set the |icon of |
|00004a80| 63 64 20 62 74 6e 20 28 | 22 68 22 26 69 29 20 6f |cd btn (|"h"&i) o|
|00004a90| 66 20 63 64 20 22 4d 61 | 69 6e 22 20 74 6f 20 69 |f cd "Ma|in" to i|
|00004aa0| 63 0d 65 6e 64 20 69 66 | 0d 69 66 20 69 74 65 6d |c.end if|.if item|
|00004ab0| 20 33 20 6f 66 20 74 68 | 65 50 72 6f 70 20 69 73 | 3 of th|eProp is|
|00004ac0| 20 22 4d 22 20 74 68 65 | 6e 0d 67 6c 6f 62 61 6c | "M" the|n.global|
|00004ad0| 20 42 57 0d 69 66 20 42 | 57 20 74 68 65 6e 0d 73 | BW.if B|W then.s|
|00004ae0| 65 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |et the h|ilite of|
|00004af0| 20 63 64 20 62 74 6e 20 | 28 22 62 22 26 69 29 20 | cd btn |("b"&i) |
|00004b00| 6f 66 20 63 64 20 22 4d | 61 69 6e 22 20 74 6f 20 |of cd "M|ain" to |
|00004b10| 74 72 75 65 0d 73 65 74 | 20 74 68 65 20 68 69 6c |true.set| the hil|
|00004b20| 69 74 65 20 6f 66 20 63 | 64 20 62 74 6e 20 28 22 |ite of c|d btn ("|
|00004b30| 6c 22 26 69 29 20 6f 66 | 20 63 64 20 22 4d 61 69 |l"&i) of| cd "Mai|
|00004b40| 6e 22 20 74 6f 20 74 72 | 75 65 0d 65 6c 73 65 0d |n" to tr|ue.else.|
|00004b50| 49 6e 76 65 72 74 53 71 | 75 61 72 65 28 69 29 0d |InvertSq|uare(i).|
|00004b60| 70 75 74 20 22 20 22 20 | 26 20 69 20 61 66 74 65 |put " " |& i afte|
|00004b70| 72 20 4d 6f 72 74 4c 69 | 73 74 0d 65 6e 64 20 69 |r MortLi|st.end i|
|00004b80| 66 0d 65 6c 73 65 0d 73 | 65 74 20 74 68 65 20 68 |f.else.s|et the h|
|00004b90| 69 6c 69 74 65 20 6f 66 | 20 63 64 20 62 74 6e 20 |ilite of| cd btn |
|00004ba0| 28 22 62 22 26 69 29 20 | 6f 66 20 63 64 20 22 4d |("b"&i) |of cd "M|
|00004bb0| 61 69 6e 22 20 74 6f 20 | 66 61 6c 73 65 0d 65 6e |ain" to |false.en|
|00004bc0| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00004bd0| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00004be0| 31 20 74 6f 20 4e 50 0d | 67 6c 6f 62 61 6c 20 4e |1 to NP.|global N|
|00004bf0| 61 6d 65 2c 4d 79 50 6c | 61 63 65 2c 4d 6f 6e 65 |ame,MyPl|ace,Mone|
|00004c00| 79 2c 72 62 61 73 65 2c | 74 6f 6b 4e 6f 2c 73 74 |y,rbase,|tokNo,st|
|00004c10| 61 74 75 73 0d 73 65 74 | 20 74 68 65 20 68 69 6c |atus.set| the hil|
|00004c20| 69 74 65 20 6f 66 20 63 | 64 20 62 74 6e 20 28 72 |ite of c|d btn (r|
|00004c30| 62 61 73 65 2b 69 2d 31 | 29 20 74 6f 20 66 61 6c |base+i-1|) to fal|
|00004c40| 73 65 0d 70 75 74 20 69 | 74 65 6d 20 33 20 6f 66 |se.put i|tem 3 of|
|00004c50| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 63 64 20 | the rec|t of cd |
|00004c60| 62 74 6e 20 28 72 62 61 | 73 65 2b 69 2d 31 29 20 |btn (rba|se+i-1) |
|00004c70| 69 6e 74 6f 20 69 74 65 | 6d 20 33 20 6f 66 20 6e |into ite|m 3 of n|
|00004c80| 61 6d 65 52 65 63 74 0d | 70 75 74 20 69 74 65 6d |ameRect.|put item|
|00004c90| 20 34 20 6f 66 20 74 68 | 65 20 72 65 63 74 20 6f | 4 of th|e rect o|
|00004ca0| 66 20 63 64 20 62 74 6e | 20 28 72 62 61 73 65 2b |f cd btn| (rbase+|
|00004cb0| 69 2d 31 29 20 69 6e 74 | 6f 20 69 74 65 6d 20 34 |i-1) int|o item 4|
|00004cc0| 20 6f 66 20 6e 61 6d 65 | 52 65 63 74 0d 73 65 74 | of name|Rect.set|
|00004cd0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 63 64 20 | the nam|e of cd |
|00004ce0| 62 74 6e 20 28 72 62 61 | 73 65 2b 69 2d 31 29 20 |btn (rba|se+i-1) |
|00004cf0| 74 6f 20 69 74 65 6d 20 | 4e 61 6d 65 20 6f 66 20 |to item |Name of |
|00004d00| 6c 69 6e 65 20 69 20 6f | 66 20 50 50 0d 70 75 74 |line i o|f PP.put|
|00004d10| 20 69 74 65 6d 20 4d 6f | 6e 65 79 20 6f 66 20 6c | item Mo|ney of l|
|00004d20| 69 6e 65 20 69 20 6f 66 | 20 50 50 20 69 6e 74 6f |ine i of| PP into|
|00004d30| 20 63 64 20 66 6c 64 20 | 28 22 61 76 63 61 73 68 | cd fld |("avcash|
|00004d40| 22 26 69 29 20 6f 66 20 | 63 64 20 22 4d 61 69 6e |"&i) of |cd "Main|
|00004d50| 22 0d 73 65 74 20 74 68 | 65 20 6e 61 6d 65 20 6f |".set th|e name o|
|00004d60| 66 20 63 64 20 62 74 6e | 20 28 62 65 67 74 6f 6b |f cd btn| (begtok|
|00004d70| 2b 28 69 74 65 6d 20 74 | 6f 6b 4e 6f 20 6f 66 20 |+(item t|okNo of |
|00004d80| 6c 69 6e 65 20 69 20 6f | 66 20 50 50 29 29 20 74 |line i o|f PP)) t|
|00004d90| 6f 20 22 74 6f 6b 65 6e | 22 26 69 0d 73 68 6f 77 |o "token|"&i.show|
|00004da0| 20 63 64 20 62 74 6e 20 | 28 72 62 61 73 65 2b 69 | cd btn |(rbase+i|
|00004db0| 2d 31 29 20 6f 66 20 63 | 64 20 22 4d 61 69 6e 22 |-1) of c|d "Main"|
|00004dc0| 0d 73 68 6f 77 20 63 64 | 20 66 6c 64 20 28 22 61 |.show cd| fld ("a|
|00004dd0| 76 63 61 73 68 22 26 69 | 29 20 6f 66 20 63 64 20 |vcash"&i|) of cd |
|00004de0| 22 4d 61 69 6e 22 0d 69 | 66 20 69 74 65 6d 20 53 |"Main".i|f item S|
|00004df0| 74 61 74 75 73 20 6f 66 | 20 6c 69 6e 65 20 69 20 |tatus of| line i |
|00004e00| 6f 66 20 50 50 20 69 73 | 20 22 62 61 6e 6b 72 75 |of PP is| "bankru|
|00004e10| 70 74 22 20 74 68 65 6e | 20 70 75 74 20 22 2a 2a |pt" then| put "**|
|00004e20| 2a 2a 22 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |**" into| cd fld |
|00004e30| 28 22 61 76 63 61 73 68 | 22 26 69 29 0d 70 75 74 |("avcash|"&i).put|
|00004e40| 20 28 22 62 22 26 28 69 | 74 65 6d 20 4d 79 50 6c | ("b"&(i|tem MyPl|
|00004e50| 61 63 65 20 6f 66 20 6c | 69 6e 65 20 69 20 6f 66 |ace of l|ine i of|
|00004e60| 20 50 50 29 29 20 69 6e | 74 6f 20 74 68 65 73 71 | PP)) in|to thesq|
|00004e70| 0d 73 68 6f 77 20 63 64 | 20 62 74 6e 20 28 22 74 |.show cd| btn ("t|
|00004e80| 6f 6b 65 6e 22 26 69 29 | 20 6f 66 20 63 64 20 22 |oken"&i)| of cd "|
|00004e90| 4d 61 69 6e 22 20 61 74 | 20 74 68 65 20 6c 6f 63 |Main" at| the loc|
|00004ea0| 20 6f 66 20 63 64 20 62 | 74 6e 20 74 68 65 73 71 | of cd b|tn thesq|
|00004eb0| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 0d 69 66 | of cd "|Main".if|
|00004ec0| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 63 | the hil|ite of c|
|00004ed0| 64 20 62 74 6e 20 74 68 | 65 73 71 20 69 73 20 74 |d btn th|esq is t|
|00004ee0| 72 75 65 20 74 68 65 6e | 20 73 65 74 20 74 68 65 |rue then| set the|
|00004ef0| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 64 20 62 74 | hilite |of cd bt|
|00004f00| 6e 20 28 22 74 6f 6b 65 | 6e 22 26 69 29 20 74 6f |n ("toke|n"&i) to|
|00004f10| 20 74 72 75 65 0d 65 6e | 64 20 72 65 70 65 61 74 | true.en|d repeat|
|00004f20| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00004f30| 20 28 4e 50 2b 31 29 20 | 74 6f 20 38 0d 68 69 64 | (NP+1) |to 8.hid|
|00004f40| 65 20 63 64 20 62 74 6e | 20 28 72 62 61 73 65 2b |e cd btn| (rbase+|
|00004f50| 69 2d 31 29 0d 68 69 64 | 65 20 63 64 20 66 6c 64 |i-1).hid|e cd fld|
|00004f60| 20 28 22 61 76 63 61 73 | 68 22 26 69 29 0d 65 6e | ("avcas|h"&i).en|
|00004f70| 64 20 72 65 70 65 61 74 | 0d 67 6c 6f 62 61 6c 20 |d repeat|.global |
|00004f80| 62 65 67 74 6f 6b 0d 72 | 65 70 65 61 74 20 77 69 |begtok.r|epeat wi|
|00004f90| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 38 0d 69 66 |th i = 1| to 8.if|
|00004fa0| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00004fb0| 6f 66 20 63 64 20 62 74 | 6e 20 28 62 65 67 74 6f |of cd bt|n (begto|
|00004fc0| 6b 2b 69 2d 31 29 20 69 | 73 20 22 74 6f 6b 65 6e |k+i-1) i|s "token|
|00004fd0| 22 20 74 68 65 6e 20 68 | 69 64 65 20 63 64 20 62 |" then h|ide cd b|
|00004fe0| 74 6e 20 28 62 65 67 74 | 6f 6b 2b 69 2d 31 29 0d |tn (begt|ok+i-1).|
|00004ff0| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 75 74 20 74 |end repe|at.put t|
|00005000| 72 75 65 20 69 6e 74 6f | 20 47 61 6d 65 0d 67 6c |rue into| Game.gl|
|00005010| 6f 62 61 6c 20 50 6c 61 | 79 65 72 0d 73 65 74 20 |obal Pla|yer.set |
|00005020| 74 68 65 20 68 69 6c 69 | 74 65 20 6f 66 20 63 64 |the hili|te of cd|
|00005030| 20 62 74 6e 20 28 72 62 | 61 73 65 2b 50 6c 61 79 | btn (rb|ase+Play|
|00005040| 65 72 2d 31 29 20 74 6f | 20 74 72 75 65 0d 75 6e |er-1) to| true.un|
|00005050| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 6c 61 79 |lock scr|een.play|
|00005060| 63 20 22 61 6e 6e 6f 75 | 6e 63 65 22 0d 65 6e 64 |c "annou|nce".end|
|00005070| 20 73 65 74 4f 6c 64 47 | 61 6d 65 0d 0d 6f 6e 20 | setOldG|ame..on |
|00005080| 6c 69 66 74 4d 6f 72 74 | 67 61 67 65 20 70 72 6f |liftMort|gage pro|
|00005090| 70 6e 75 6d 2c 66 6c 0d | 67 6c 6f 62 61 6c 20 56 |pnum,fl.|global V|
|000050a0| 6f 6c 61 74 69 6c 65 44 | 61 74 61 2c 4d 56 2c 4b |olatileD|ata,MV,K|
|000050b0| 44 61 74 61 2c 4e 50 2c | 6d 6f 72 74 52 61 74 65 |Data,NP,|mortRate|
|000050c0| 2c 43 6f 73 74 0d 70 75 | 74 20 69 74 65 6d 20 31 |,Cost.pu|t item 1|
|000050d0| 20 6f 66 20 6c 69 6e 65 | 20 70 72 6f 70 6e 75 6d | of line| propnum|
|000050e0| 20 6f 66 20 56 6f 6c 61 | 74 69 6c 65 44 61 74 61 | of Vola|tileData|
|000050f0| 20 69 6e 74 6f 20 6f 77 | 6e 65 72 0d 70 75 74 20 | into ow|ner.put |
|00005100| 69 74 65 6d 20 33 20 6f | 66 20 6c 69 6e 65 20 70 |item 3 o|f line p|
|00005110| 72 6f 70 6e 75 6d 20 6f | 66 20 56 6f 6c 61 74 69 |ropnum o|f Volati|
|00005120| 6c 65 44 61 74 61 20 69 | 6e 74 6f 20 6d 0d 69 66 |leData i|nto m.if|
|00005130| 20 6d 20 3c 3e 20 22 4d | 22 20 74 68 65 6e 0d 66 | m <> "M|" then.f|
|00005140| 6c 61 73 68 69 74 20 67 | 65 74 73 74 72 28 38 29 |lashit g|etstr(8)|
|00005150| 2c 33 0d 65 78 69 74 20 | 6c 69 66 74 4d 6f 72 74 |,3.exit |liftMort|
|00005160| 67 61 67 65 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |gage.end| if.put |
|00005170| 28 69 74 65 6d 20 63 6f | 73 74 20 6f 66 20 6c 69 |(item co|st of li|
|00005180| 6e 65 20 70 72 6f 70 6e | 75 6d 20 6f 66 20 4b 44 |ne propn|um of KD|
|00005190| 61 74 61 29 20 2d 20 28 | 69 74 65 6d 20 4d 56 20 |ata) - (|item MV |
|000051a0| 6f 66 20 6c 69 6e 65 20 | 70 72 6f 70 6e 75 6d 20 |of line |propnum |
|000051b0| 6f 66 20 4b 44 61 74 61 | 29 20 69 6e 74 6f 20 6d |of KData|) into m|
|000051c0| 76 61 6c 0d 61 64 64 20 | 72 6f 75 6e 64 28 28 6d |val.add |round((m|
|000051d0| 6f 72 74 52 61 74 65 2f | 31 30 30 29 20 2a 20 6d |ortRate/|100) * m|
|000051e0| 76 61 6c 29 20 74 6f 20 | 6d 76 61 6c 0d 70 6c 61 |val) to |mval.pla|
|000051f0| 79 63 20 22 64 65 6d 6f | 72 74 22 0d 69 66 20 66 |yc "demo|rt".if f|
|00005200| 6c 20 3d 20 22 22 20 74 | 68 65 6e 20 62 75 73 69 |l = "" t|hen busi|
|00005210| 6e 65 73 73 20 6d 76 61 | 6c 2c 30 2c 30 2c 6f 77 |ness mva|l,0,0,ow|
|00005220| 6e 65 72 0d 70 75 74 20 | 22 22 20 69 6e 74 6f 20 |ner.put |"" into |
|00005230| 69 74 65 6d 20 33 20 6f | 66 20 6c 69 6e 65 20 70 |item 3 o|f line p|
|00005240| 72 6f 70 6e 75 6d 20 6f | 66 20 56 6f 6c 61 74 69 |ropnum o|f Volati|
|00005250| 6c 65 44 61 74 61 0d 67 | 6c 6f 62 61 6c 20 42 57 |leData.g|lobal BW|
|00005260| 0d 69 66 20 42 57 20 74 | 68 65 6e 0d 73 65 74 20 |.if BW t|hen.set |
|00005270| 74 68 65 20 68 69 6c 69 | 74 65 20 6f 66 20 63 64 |the hili|te of cd|
|00005280| 20 62 74 6e 20 28 22 62 | 22 26 70 72 6f 70 6e 75 | btn ("b|"&propnu|
|00005290| 6d 29 20 6f 66 20 63 64 | 20 22 4d 61 69 6e 22 20 |m) of cd| "Main" |
|000052a0| 74 6f 20 66 61 6c 73 65 | 0d 73 65 74 20 74 68 65 |to false|.set the|
|000052b0| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 64 20 62 74 | hilite |of cd bt|
|000052c0| 6e 20 28 22 6c 22 26 70 | 72 6f 70 6e 75 6d 29 20 |n ("l"&p|ropnum) |
|000052d0| 6f 66 20 63 64 20 22 4d | 61 69 6e 22 74 6f 20 66 |of cd "M|ain"to f|
|000052e0| 61 6c 73 65 0d 72 65 70 | 65 61 74 20 77 69 74 68 |alse.rep|eat with|
|000052f0| 20 69 20 3d 20 31 20 74 | 6f 20 4e 50 0d 69 66 20 | i = 1 t|o NP.if |
|00005300| 74 68 65 20 6c 6f 63 20 | 6f 66 20 63 64 20 62 74 |the loc |of cd bt|
|00005310| 6e 20 28 22 74 6f 6b 65 | 6e 22 26 69 29 20 6f 66 |n ("toke|n"&i) of|
|00005320| 20 63 64 20 22 4d 61 69 | 6e 22 20 3d 20 28 74 68 | cd "Mai|n" = (th|
|00005330| 65 20 6c 6f 63 20 6f 66 | 20 63 64 20 62 74 6e 20 |e loc of| cd btn |
|00005340| 28 22 62 22 26 70 72 6f | 70 6e 75 6d 29 20 6f 66 |("b"&pro|pnum) of|
|00005350| 20 63 64 20 22 4d 61 69 | 6e 22 29 20 74 68 65 6e | cd "Mai|n") then|
|00005360| 0d 73 65 74 20 74 68 65 | 20 68 69 6c 69 74 65 20 |.set the| hilite |
|00005370| 6f 66 20 63 64 20 62 74 | 6e 20 28 22 74 6f 6b 65 |of cd bt|n ("toke|
|00005380| 6e 22 26 69 29 20 6f 66 | 20 63 64 20 22 4d 61 69 |n"&i) of| cd "Mai|
|00005390| 6e 22 20 74 6f 20 66 61 | 6c 73 65 0d 65 6e 64 20 |n" to fa|lse.end |
|000053a0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 65 6c |if.end r|epeat.el|
|000053b0| 73 65 0d 69 66 20 74 68 | 65 20 73 68 6f 72 74 20 |se.if th|e short |
|000053c0| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 61 72 |name of |this car|
|000053d0| 64 20 69 73 20 22 4d 61 | 69 6e 22 20 74 68 65 6e |d is "Ma|in" then|
|000053e0| 20 69 6e 76 65 72 74 53 | 71 75 61 72 65 28 70 72 | invertS|quare(pr|
|000053f0| 6f 70 6e 75 6d 29 0d 67 | 6c 6f 62 61 6c 20 4d 6f |opnum).g|lobal Mo|
|00005400| 72 74 4c 69 73 74 0d 72 | 65 70 65 61 74 20 77 69 |rtList.r|epeat wi|
|00005410| 74 68 20 6b 20 3d 20 31 | 20 74 6f 20 28 74 68 65 |th k = 1| to (the|
|00005420| 20 6e 75 6d 62 65 72 20 | 6f 66 20 77 6f 72 64 73 | number |of words|
|00005430| 20 6f 66 20 4d 6f 72 74 | 4c 69 73 74 29 0d 69 66 | of Mort|List).if|
|00005440| 20 77 6f 72 64 20 6b 20 | 6f 66 20 4d 6f 72 74 4c | word k |of MortL|
|00005450| 69 73 74 20 3d 20 70 72 | 6f 70 6e 75 6d 20 74 68 |ist = pr|opnum th|
|00005460| 65 6e 0d 64 65 6c 65 74 | 65 20 77 6f 72 64 20 6b |en.delet|e word k|
|00005470| 20 6f 66 20 4d 6f 72 74 | 4c 69 73 74 0d 65 78 69 | of Mort|List.exi|
|00005480| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|00005490| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|000054a0| 66 0d 67 65 74 69 6e 66 | 6f 20 70 72 6f 70 6e 75 |f.getinf|o propnu|
|000054b0| 6d 0d 65 6e 64 20 6c 69 | 66 74 4d 6f 72 74 67 61 |m.end li|ftMortga|
|000054c0| 67 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 61 75 63 |ge..func|tion auc|
|000054d0| 74 69 6f 6e 20 70 72 6f | 70 6e 75 6d 2c 73 0d 67 |tion pro|pnum,s.g|
|000054e0| 6c 6f 62 61 6c 20 45 6e | 61 62 6c 65 41 75 63 74 |lobal En|ableAuct|
|000054f0| 69 6f 6e 0d 69 66 20 65 | 6e 61 62 6c 65 41 75 63 |ion.if e|nableAuc|
|00005500| 74 69 6f 6e 20 69 73 20 | 66 61 6c 73 65 20 74 68 |tion is |false th|
|00005510| 65 6e 20 72 65 74 75 72 | 6e 20 30 0d 70 75 73 68 |en retur|n 0.push|
|00005520| 20 63 64 0d 67 6f 20 63 | 64 20 22 4d 61 69 6e 22 | cd.go c|d "Main"|
|00005530| 0d 70 6c 61 79 63 20 22 | 61 75 63 74 69 6f 6e 22 |.playc "|auction"|
|00005540| 0d 67 6c 6f 62 61 6c 20 | 4d 6f 6e 65 79 2c 50 50 |.global |Money,PP|
|00005550| 2c 4e 50 2c 72 62 61 73 | 65 2c 6c 69 74 2c 42 61 |,NP,rbas|e,lit,Ba|
|00005560| 6e 6b 2c 4d 61 78 42 69 | 64 2c c2 0d 4e 61 6d 65 |nk,MaxBi|d,..Name|
|00005570| 2c 4e 61 6d 65 73 2c 4b | 44 61 74 61 2c 43 6f 73 |,Names,K|Data,Cos|
|00005580| 74 2c 62 70 6c 61 79 65 | 72 2c 56 6f 6c 61 74 69 |t,bplaye|r,Volati|
|00005590| 6c 65 44 61 74 61 2c 4d | 6f 72 74 67 61 67 65 46 |leData,M|ortgageF|
|000055a0| 6c 61 67 2c 4d 56 2c 4d | 69 6e 69 6d 75 6d 0d 69 |lag,MV,M|inimum.i|
|000055b0| 66 20 73 20 69 73 20 30 | 20 74 68 65 6e 0d 70 75 |f s is 0| then.pu|
|000055c0| 74 20 22 42 61 6e 6b 22 | 20 69 6e 74 6f 20 63 64 |t "Bank"| into cd|
|000055d0| 20 66 6c 64 20 20 22 73 | 65 6c 6c 65 72 22 20 6f | fld "s|eller" o|
|000055e0| 66 20 63 64 20 22 4d 61 | 69 6e 22 0d 65 6c 73 65 |f cd "Ma|in".else|
|000055f0| 0d 70 75 74 20 28 69 74 | 65 6d 20 31 20 6f 66 20 |.put (it|em 1 of |
|00005600| 6c 69 6e 65 20 73 20 6f | 66 20 50 50 29 20 69 6e |line s o|f PP) in|
|00005610| 74 6f 20 63 64 20 66 6c | 64 20 22 73 65 6c 6c 65 |to cd fl|d "selle|
|00005620| 72 22 20 6f 66 20 63 64 | 20 22 4d 61 69 6e 22 0d |r" of cd| "Main".|
|00005630| 65 6e 64 20 69 66 0d 70 | 75 74 20 22 62 22 26 70 |end if.p|ut "b"&p|
|00005640| 72 6f 70 6e 75 6d 20 69 | 6e 74 6f 20 74 68 65 62 |ropnum i|nto theb|
|00005650| 75 74 0d 70 75 74 20 74 | 68 65 20 68 69 6c 69 74 |ut.put t|he hilit|
|00005660| 65 20 6f 66 20 63 64 20 | 62 74 6e 20 74 68 65 62 |e of cd |btn theb|
|00005670| 75 74 20 69 6e 74 6f 20 | 74 68 65 48 69 6c 69 74 |ut into |theHilit|
|00005680| 65 0d 70 75 74 20 6c 69 | 6e 65 20 70 72 6f 70 6e |e.put li|ne propn|
|00005690| 75 6d 20 6f 66 20 4e 61 | 6d 65 73 20 69 6e 74 6f |um of Na|mes into|
|000056a0| 20 63 64 20 66 6c 64 20 | 22 50 72 6f 70 65 72 74 | cd fld |"Propert|
|000056b0| 79 22 20 6f 66 20 63 64 | 20 22 4d 61 69 6e 22 0d |y" of cd| "Main".|
|000056c0| 73 68 6f 77 20 63 64 20 | 66 6c 64 20 22 54 72 61 |show cd |fld "Tra|
|000056d0| 6e 73 61 63 74 69 6f 6e | 22 20 6f 66 20 63 64 20 |nsaction|" of cd |
|000056e0| 22 4d 61 69 6e 22 0d 73 | 68 6f 77 20 63 64 20 66 |"Main".s|how cd f|
|000056f0| 6c 64 20 22 50 72 6f 70 | 65 72 74 79 22 20 6f 66 |ld "Prop|erty" of|
|00005700| 20 63 64 20 22 4d 61 69 | 6e 22 0d 73 68 6f 77 20 | cd "Mai|n".show |
|00005710| 63 64 20 66 6c 64 20 22 | 53 2e 4e 61 6d 65 22 20 |cd fld "|S.Name" |
|00005720| 6f 66 20 63 64 20 22 4d | 61 69 6e 22 0d 73 68 6f |of cd "M|ain".sho|
|00005730| 77 20 63 64 20 66 6c 64 | 20 22 73 65 6c 6c 65 72 |w cd fld| "seller|
|00005740| 22 20 6f 66 20 63 64 20 | 22 4d 61 69 6e 22 0d 73 |" of cd |"Main".s|
|00005750| 68 6f 77 20 63 64 20 62 | 74 6e 20 22 41 62 6f 72 |how cd b|tn "Abor|
|00005760| 74 20 41 75 63 74 69 6f | 6e 22 20 6f 66 20 63 64 |t Auctio|n" of cd|
|00005770| 20 22 4d 61 69 6e 22 0d | 67 65 74 49 6e 66 6f 20 | "Main".|getInfo |
|00005780| 70 72 6f 70 6e 75 6d 0d | 70 75 74 20 66 61 6c 73 |propnum.|put fals|
|00005790| 65 20 69 6e 74 6f 20 73 | 6f 6c 64 0d 70 75 74 20 |e into s|old.put |
|000057a0| 69 74 65 6d 20 4d 69 6e | 69 6d 75 6d 20 6f 66 20 |item Min|imum of |
|000057b0| 6c 69 6e 65 20 70 72 6f | 70 6e 75 6d 20 6f 66 20 |line pro|pnum of |
|000057c0| 4b 44 61 74 61 20 69 6e | 74 6f 20 53 74 61 72 74 |KData in|to Start|
|000057d0| 42 69 64 0d 70 75 74 20 | 73 20 69 6e 74 6f 20 70 |Bid.put |s into p|
|000057e0| 6c 6e 6f 0d 69 66 20 73 | 20 69 73 20 30 20 74 68 |lno.if s| is 0 th|
|000057f0| 65 6e 0d 70 75 74 20 69 | 74 65 6d 20 4d 69 6e 69 |en.put i|tem Mini|
|00005800| 6d 75 6d 20 6f 66 20 6c | 69 6e 65 20 70 72 6f 70 |mum of l|ine prop|
|00005810| 6e 75 6d 20 6f 66 20 4b | 44 61 74 61 20 69 6e 74 |num of K|Data int|
|00005820| 6f 20 6d 69 6e 62 69 64 | 0d 65 6c 73 65 0d 70 75 |o minbid|.else.pu|
|00005830| 74 20 30 20 69 6e 74 6f | 20 6d 69 6e 62 69 64 0d |t 0 into| minbid.|
|00005840| 65 6e 64 20 69 66 0d 67 | 6c 6f 62 61 6c 20 4e 50 |end if.g|lobal NP|
|00005850| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 6d 61 78 6d |.put 0 i|nto maxm|
|00005860| 6f 6e 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6b |on.repea|t with k|
|00005870| 20 3d 20 31 20 74 6f 20 | 4e 50 0d 70 75 74 20 69 | = 1 to |NP.put i|
|00005880| 74 65 6d 20 4d 6f 6e 65 | 79 20 6f 66 20 6c 69 6e |tem Mone|y of lin|
|00005890| 65 20 6b 20 6f 66 20 50 | 50 20 69 6e 74 6f 20 6d |e k of P|P into m|
|000058a0| 6f 6e 0d 69 66 20 6d 6f | 6e 20 3e 3d 20 6d 69 6e |on.if mo|n >= min|
|000058b0| 62 69 64 20 74 68 65 6e | 20 70 75 74 20 74 72 75 |bid then| put tru|
|000058c0| 65 20 69 6e 74 6f 20 61 | 66 66 0d 69 66 20 6d 6f |e into a|ff.if mo|
|000058d0| 6e 20 3e 20 6d 61 78 6d | 6f 6e 20 74 68 65 6e 20 |n > maxm|on then |
|000058e0| 70 75 74 20 6d 6f 6e 20 | 69 6e 74 6f 20 6d 61 78 |put mon |into max|
|000058f0| 6d 6f 6e 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 69 |mon.end |repeat.i|
|00005900| 66 20 61 66 66 20 3c 3e | 20 74 72 75 65 20 74 68 |f aff <>| true th|
|00005910| 65 6e 0d 66 6c 61 73 68 | 69 74 20 22 4e 6f 62 6f |en.flash|it "Nobo|
|00005920| 64 79 20 63 61 6e 20 61 | 66 66 6f 72 64 20 74 68 |dy can a|fford th|
|00005930| 69 73 20 70 72 6f 70 65 | 72 74 79 2e 22 2c 32 0d |is prope|rty.",2.|
|00005940| 69 66 20 62 70 6c 61 79 | 65 72 20 3c 3e 20 22 22 |if bplay|er <> ""|
|00005950| 20 74 68 65 6e 20 20 6c | 69 66 74 4d 6f 72 74 67 | then l|iftMortg|
|00005960| 61 67 65 20 70 72 6f 70 | 6e 75 6d 2c 74 72 75 65 |age prop|num,true|
|00005970| 0d 70 6c 61 79 63 20 22 | 46 61 72 74 22 0d 63 6c |.playc "|Fart".cl|
|00005980| 65 61 6e 41 75 63 74 69 | 6f 6e 0d 72 65 74 75 72 |eanAucti|on.retur|
|00005990| 6e 20 28 2d 31 29 0d 65 | 6e 64 20 69 66 0d 69 66 |n (-1).e|nd if.if|
|000059a0| 20 6d 61 78 6d 6f 6e 20 | 3c 20 73 74 61 72 74 42 | maxmon |< startB|
|000059b0| 69 64 20 74 68 65 6e 20 | 70 75 74 20 6d 61 78 6d |id then |put maxm|
|000059c0| 6f 6e 20 69 6e 74 6f 20 | 73 74 61 72 74 42 69 64 |on into |startBid|
|000059d0| 0d 72 65 70 65 61 74 20 | 77 68 69 6c 65 20 53 74 |.repeat |while St|
|000059e0| 61 72 74 42 69 64 20 3e | 3d 20 6d 69 6e 42 69 64 |artBid >|= minBid|
|000059f0| 0d 69 66 20 74 68 65 20 | 73 6f 75 6e 64 20 69 73 |.if the |sound is|
|00005a00| 20 64 6f 6e 65 20 74 68 | 65 6e 20 70 6c 61 79 63 | done th|en playc|
|00005a10| 20 22 61 75 63 74 69 6f | 6e 22 0d 70 75 74 20 67 | "auctio|n".put g|
|00005a20| 65 74 50 6c 61 79 65 72 | 4e 75 6d 28 20 67 65 74 |etPlayer|Num( get|
|00005a30| 73 74 72 28 39 29 20 26 | 20 53 74 61 72 74 42 69 |str(9) &| StartBi|
|00005a40| 64 20 26 20 22 2e 22 2c | 20 c2 0d 32 35 30 2c 70 |d & ".",| ..250,p|
|00005a50| 72 6f 70 6e 75 6d 29 20 | 69 6e 74 6f 20 62 69 64 |ropnum) |into bid|
|00005a60| 64 65 72 0d 69 66 20 62 | 69 64 64 65 72 20 3d 20 |der.if b|idder = |
|00005a70| 30 20 74 68 65 6e 0d 69 | 66 20 62 70 6c 61 79 65 |0 then.i|f bplaye|
|00005a80| 72 20 3c 3e 20 22 22 20 | 74 68 65 6e 0d 62 75 73 |r <> "" |then.bus|
|00005a90| 69 6e 65 73 73 20 30 2c | 70 72 6f 70 6e 75 6d 2c |iness 0,|propnum,|
|00005aa0| 62 70 6c 61 79 65 72 2c | 30 0d 73 65 74 20 74 68 |bplayer,|0.set th|
|00005ab0| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 63 64 20 62 |e hilite| of cd b|
|00005ac0| 74 6e 20 74 68 65 62 75 | 74 20 74 6f 20 66 61 6c |tn thebu|t to fal|
|00005ad0| 73 65 0d 73 65 74 20 74 | 68 65 20 68 69 6c 69 74 |se.set t|he hilit|
|00005ae0| 65 20 6f 66 20 63 64 20 | 62 74 6e 20 28 22 6c 22 |e of cd |btn ("l"|
|00005af0| 26 70 72 6f 70 6e 75 6d | 29 20 74 6f 20 66 61 6c |&propnum|) to fal|
|00005b00| 73 65 0d 69 66 20 69 74 | 65 6d 20 4d 6f 72 74 67 |se.if it|em Mortg|
|00005b10| 61 67 65 46 6c 61 67 20 | 6f 66 20 6c 69 6e 65 20 |ageFlag |of line |
|00005b20| 70 72 6f 70 6e 75 6d 20 | 6f 66 20 56 6f 6c 61 74 |propnum |of Volat|
|00005b30| 69 6c 65 64 61 74 61 20 | 20 69 73 20 22 4d 22 20 |iledata | is "M" |
|00005b40| 74 68 65 6e 20 6c 69 66 | 74 4d 6f 72 74 67 61 67 |then lif|tMortgag|
|00005b50| 65 20 70 72 6f 70 6e 75 | 6d 2c 74 72 75 65 0d 65 |e propnu|m,true.e|
|00005b60| 6e 64 20 69 66 0d 63 6c | 65 61 6e 41 75 63 74 69 |nd if.cl|eanAucti|
|00005b70| 6f 6e 0d 73 65 74 20 74 | 68 65 20 68 69 6c 69 74 |on.set t|he hilit|
|00005b80| 65 20 6f 66 20 63 64 20 | 62 74 6e 20 74 68 65 62 |e of cd |btn theb|
|00005b90| 75 74 20 74 6f 20 74 68 | 65 68 69 6c 69 74 65 0d |ut to th|ehilite.|
|00005ba0| 72 65 74 75 72 6e 20 28 | 2d 31 29 0d 65 6e 64 20 |return (|-1).end |
|00005bb0| 69 66 0d 69 66 20 62 69 | 64 64 65 72 20 3d 20 22 |if.if bi|dder = "|
|00005bc0| 54 69 6d 65 4f 75 74 22 | 20 6f 72 20 62 69 64 64 |TimeOut"| or bidd|
|00005bd0| 65 72 20 3d 20 2d 31 20 | 74 68 65 6e 0d 70 75 74 |er = -1 |then.put|
|00005be0| 20 53 74 61 72 74 42 69 | 64 20 69 6e 74 6f 20 73 | StartBi|d into s|
|00005bf0| 61 76 65 64 42 69 64 0d | 70 75 74 20 72 6f 75 6e |avedBid.|put roun|
|00005c00| 64 28 28 53 74 61 72 74 | 42 69 64 20 2b 20 6d 69 |d((Start|Bid + mi|
|00005c10| 6e 62 69 64 29 2f 32 29 | 20 69 6e 74 6f 20 53 74 |nbid)/2)| into St|
|00005c20| 61 72 74 42 69 64 0d 69 | 66 20 73 74 61 72 74 42 |artBid.i|f startB|
|00005c30| 69 64 20 3d 20 53 61 76 | 65 64 62 69 64 20 74 68 |id = Sav|edbid th|
|00005c40| 65 6e 0d 70 75 74 20 30 | 20 69 6e 74 6f 20 53 74 |en.put 0| into St|
|00005c50| 61 72 74 42 69 64 0d 65 | 6e 64 20 69 66 0d 65 6c |artBid.e|nd if.el|
|00005c60| 73 65 20 69 66 20 69 74 | 65 6d 20 4d 6f 6e 65 79 |se if it|em Money|
|00005c70| 20 6f 66 20 6c 69 6e 65 | 20 62 69 64 64 65 72 20 | of line| bidder |
|00005c80| 6f 66 20 50 50 20 3c 20 | 53 74 61 72 74 42 69 64 |of PP < |StartBid|
|00005c90| 20 74 68 65 6e 0d 66 6c | 61 73 68 69 74 20 67 65 | then.fl|ashit ge|
|00005ca0| 74 73 74 72 28 31 30 29 | 2c 33 0d 6e 65 78 74 20 |tstr(10)|,3.next |
|00005cb0| 72 65 70 65 61 74 0d 65 | 6c 73 65 20 69 66 20 62 |repeat.e|lse if b|
|00005cc0| 69 64 64 65 72 20 3d 20 | 62 70 6c 61 79 65 72 20 |idder = |bplayer |
|00005cd0| 74 68 65 6e 0d 66 6c 61 | 73 68 69 74 20 67 65 74 |then.fla|shit get|
|00005ce0| 73 74 72 28 31 31 29 2c | 33 0d 6e 65 78 74 20 72 |str(11),|3.next r|
|00005cf0| 65 70 65 61 74 0d 65 6c | 73 65 0d 65 78 69 74 20 |epeat.el|se.exit |
|00005d00| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 65 6e |repeat.e|nd if.en|
|00005d10| 64 20 72 65 70 65 61 74 | 0d 68 69 64 65 20 63 64 |d repeat|.hide cd|
|00005d20| 20 62 74 6e 20 22 41 62 | 6f 72 74 20 41 75 63 74 | btn "Ab|ort Auct|
|00005d30| 69 6f 6e 22 0d 69 66 20 | 53 74 61 72 74 42 69 64 |ion".if |StartBid|
|00005d40| 20 3c 20 6d 69 6e 62 69 | 64 20 74 68 65 6e 0d 66 | < minbi|d then.f|
|00005d50| 6c 61 73 68 69 74 20 67 | 65 74 73 74 72 28 31 32 |lashit g|etstr(12|
|00005d60| 29 20 26 20 6d 69 6e 62 | 69 64 2c 32 0d 69 66 20 |) & minb|id,2.if |
|00005d70| 62 70 6c 61 79 65 72 20 | 3c 3e 20 22 22 20 74 68 |bplayer |<> "" th|
|00005d80| 65 6e 0d 62 75 73 69 6e | 65 73 73 20 30 2c 70 72 |en.busin|ess 0,pr|
|00005d90| 6f 70 6e 75 6d 2c 62 70 | 6c 61 79 65 72 2c 30 0d |opnum,bp|layer,0.|
|00005da0| 73 65 74 20 74 68 65 20 | 68 69 6c 69 74 65 20 6f |set the |hilite o|
|00005db0| 66 20 63 64 20 62 74 6e | 20 74 68 65 62 75 74 20 |f cd btn| thebut |
|00005dc0| 74 6f 20 66 61 6c 73 65 | 0d 73 65 74 20 74 68 65 |to false|.set the|
|00005dd0| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 64 20 62 74 | hilite |of cd bt|
|00005de0| 6e 20 28 22 6c 22 26 70 | 72 6f 70 6e 75 6d 29 20 |n ("l"&p|ropnum) |
|00005df0| 74 6f 20 66 61 6c 73 65 | 0d 69 66 20 69 74 65 6d |to false|.if item|
|00005e00| 20 4d 6f 72 74 67 61 67 | 65 46 6c 61 67 20 6f 66 | Mortgag|eFlag of|
|00005e10| 20 6c 69 6e 65 20 70 72 | 6f 70 6e 75 6d 20 6f 66 | line pr|opnum of|
|00005e20| 20 56 6f 6c 61 74 69 6c | 65 64 61 74 61 20 20 69 | Volatil|edata i|
|00005e30| 73 20 22 4d 22 20 74 68 | 65 6e 20 6c 69 66 74 4d |s "M" th|en liftM|
|00005e40| 6f 72 74 67 61 67 65 20 | 70 72 6f 70 6e 75 6d 2c |ortgage |propnum,|
|00005e50| 74 72 75 65 0d 65 6e 64 | 20 69 66 0d 63 6c 65 61 |true.end| if.clea|
|00005e60| 6e 41 75 63 74 69 6f 6e | 0d 73 65 74 20 74 68 65 |nAuction|.set the|
|00005e70| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 64 20 62 74 | hilite |of cd bt|
|00005e80| 6e 20 74 68 65 62 75 74 | 20 74 6f 20 74 68 65 68 |n thebut| to theh|
|00005e90| 69 6c 69 74 65 0d 72 65 | 74 75 72 6e 20 28 2d 31 |ilite.re|turn (-1|
|00005ea0| 29 0d 65 6e 64 20 69 66 | 0d 70 75 74 20 62 69 64 |).end if|.put bid|
|00005eb0| 64 65 72 20 69 6e 74 6f | 20 70 6c 6e 6f 0d 70 75 |der into| plno.pu|
|00005ec0| 74 20 53 74 61 72 74 42 | 69 64 20 69 6e 74 6f 20 |t StartB|id into |
|00005ed0| 4d 61 78 42 69 64 0d 72 | 65 70 65 61 74 20 77 68 |MaxBid.r|epeat wh|
|00005ee0| 69 6c 65 20 6e 6f 74 20 | 73 6f 6c 64 0d 69 66 20 |ile not |sold.if |
|00005ef0| 74 68 65 20 73 6f 75 6e | 64 20 69 73 20 64 6f 6e |the soun|d is don|
|00005f00| 65 20 74 68 65 6e 20 70 | 6c 61 79 63 20 22 61 75 |e then p|layc "au|
|00005f10| 63 74 69 6f 6e 22 0d 70 | 75 74 20 67 65 74 50 6c |ction".p|ut getPl|
|00005f20| 61 79 65 72 4e 75 6d 28 | 20 67 65 74 73 74 72 28 |ayerNum(| getstr(|
|00005f30| 39 29 20 c2 0d 26 20 28 | 4d 61 78 42 69 64 2b 31 |9) ..& (|MaxBid+1|
|00005f40| 30 29 20 26 20 22 2e 20 | 20 48 69 67 68 20 62 69 |0) & ". | High bi|
|00005f50| 64 64 65 72 20 73 6f 20 | 66 61 72 3a 20 20 22 20 |dder so |far: " |
|00005f60| 26 20 28 69 74 65 6d 20 | 31 20 6f 66 20 6c 69 6e |& (item |1 of lin|
|00005f70| 65 20 70 6c 6e 6f 20 6f | 66 20 50 50 29 2c 32 30 |e plno o|f PP),20|
|00005f80| 30 2c 70 72 6f 70 6e 75 | 6d 29 20 c2 0d 69 6e 74 |0,propnu|m) ..int|
|00005f90| 6f 20 62 69 64 64 65 72 | 0d 69 66 20 62 69 64 64 |o bidder|.if bidd|
|00005fa0| 65 72 20 3d 20 22 54 69 | 6d 65 4f 75 74 22 20 74 |er = "Ti|meOut" t|
|00005fb0| 68 65 6e 0d 69 66 20 70 | 6c 6e 6f 20 3c 3e 20 73 |hen.if p|lno <> s|
|00005fc0| 20 74 68 65 6e 20 70 75 | 74 20 74 72 75 65 20 69 | then pu|t true i|
|00005fd0| 6e 74 6f 20 73 6f 6c 64 | 0d 65 78 69 74 20 72 65 |nto sold|.exit re|
|00005fe0| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 69 66 20 62 |peat.end| if.if b|
|00005ff0| 69 64 64 65 72 20 3d 20 | 73 20 6f 72 20 62 69 64 |idder = |s or bid|
|00006000| 64 65 72 20 3d 20 62 70 | 6c 61 79 65 72 20 74 68 |der = bp|layer th|
|00006010| 65 6e 0d 66 6c 61 73 68 | 69 74 20 67 65 74 73 74 |en.flash|it getst|
|00006020| 72 28 31 33 29 20 26 28 | 69 74 65 6d 20 4e 61 6d |r(13) &(|item Nam|
|00006030| 65 20 6f 66 20 6c 69 6e | 65 20 62 69 64 64 65 72 |e of lin|e bidder|
|00006040| 20 6f 66 20 50 50 29 26 | 22 2e 22 2c 34 0d 6e 65 | of PP)&|".",4.ne|
|00006050| 78 74 20 72 65 70 65 61 | 74 0d 65 6c 73 65 20 69 |xt repea|t.else i|
|00006060| 66 20 69 74 65 6d 20 4d | 6f 6e 65 79 20 6f 66 20 |f item M|oney of |
|00006070| 6c 69 6e 65 20 62 69 64 | 64 65 72 20 6f 66 20 50 |line bid|der of P|
|00006080| 50 20 3c 20 28 4d 61 78 | 42 69 64 2b 31 30 29 20 |P < (Max|Bid+10) |
|00006090| 74 68 65 6e 0d 66 6c 61 | 73 68 69 74 20 28 69 74 |then.fla|shit (it|
|000060a0| 65 6d 20 4e 61 6d 65 20 | 6f 66 20 6c 69 6e 65 20 |em Name |of line |
|000060b0| 62 69 64 64 65 72 20 6f | 66 20 50 50 29 20 26 20 |bidder o|f PP) & |
|000060c0| 67 65 74 73 74 72 28 31 | 34 29 2c 35 0d 6e 65 78 |getstr(1|4),5.nex|
|000060d0| 74 20 72 65 70 65 61 74 | 0d 65 6c 73 65 0d 61 64 |t repeat|.else.ad|
|000060e0| 64 20 31 30 20 74 6f 20 | 4d 61 78 42 69 64 0d 65 |d 10 to |MaxBid.e|
|000060f0| 6e 64 20 69 66 0d 70 75 | 74 20 62 69 64 64 65 72 |nd if.pu|t bidder|
|00006100| 20 69 6e 74 6f 20 70 6c | 6e 6f 0d 65 6e 64 20 72 | into pl|no.end r|
|00006110| 65 70 65 61 74 0d 69 66 | 20 73 6f 6c 64 20 74 68 |epeat.if| sold th|
|00006120| 65 6e 0d 66 6c 61 73 68 | 69 74 20 28 67 65 74 73 |en.flash|it (gets|
|00006130| 74 72 28 31 35 29 20 26 | 20 28 69 74 65 6d 20 4e |tr(15) &| (item N|
|00006140| 61 6d 65 20 6f 66 20 6c | 69 6e 65 20 70 6c 6e 6f |ame of l|ine plno|
|00006150| 20 6f 66 20 50 50 29 c2 | 0d 26 20 22 20 66 6f 72 | of PP).|.& " for|
|00006160| 20 22 20 26 20 4d 61 78 | 42 69 64 29 20 2c 31 0d | " & Max|Bid) ,1.|
|00006170| 62 75 73 69 6e 65 73 73 | 20 4d 61 78 42 69 64 2c |business| MaxBid,|
|00006180| 70 72 6f 70 6e 75 6d 2c | 73 2c 70 6c 6e 6f 0d 70 |propnum,|s,plno.p|
|00006190| 75 74 20 30 20 69 6e 74 | 6f 20 72 65 74 69 74 0d |ut 0 int|o retit.|
|000061a0| 65 6c 73 65 0d 70 75 74 | 20 28 2d 31 29 20 69 6e |else.put| (-1) in|
|000061b0| 74 6f 20 72 65 74 69 74 | 0d 65 6e 64 20 69 66 0d |to retit|.end if.|
|000061c0| 63 6c 65 61 6e 41 75 63 | 74 69 6f 6e 0d 73 65 74 |cleanAuc|tion.set|
|000061d0| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 63 | the hil|ite of c|
|000061e0| 64 20 62 74 6e 20 74 68 | 65 62 75 74 20 74 6f 20 |d btn th|ebut to |
|000061f0| 74 68 65 68 69 6c 69 74 | 65 0d 72 65 74 75 72 6e |thehilit|e.return|
|00006200| 20 72 65 74 69 74 0d 65 | 6e 64 20 61 75 63 74 69 | retit.e|nd aucti|
|00006210| 6f 6e 0d 0d 6f 6e 20 63 | 6c 65 61 6e 41 75 63 74 |on..on c|leanAuct|
|00006220| 69 6f 6e 0d 68 69 64 65 | 20 63 64 20 66 6c 64 20 |ion.hide| cd fld |
|00006230| 22 54 72 61 6e 73 61 63 | 74 69 6f 6e 22 20 6f 66 |"Transac|tion" of|
|00006240| 20 63 64 20 22 4d 61 69 | 6e 22 0d 68 69 64 65 20 | cd "Mai|n".hide |
|00006250| 63 64 20 66 6c 64 20 22 | 50 72 6f 70 65 72 74 79 |cd fld "|Property|
|00006260| 22 20 6f 66 20 63 64 20 | 22 4d 61 69 6e 22 0d 68 |" of cd |"Main".h|
|00006270| 69 64 65 20 63 64 20 66 | 6c 64 20 22 53 2e 4e 61 |ide cd f|ld "S.Na|
|00006280| 6d 65 22 20 6f 66 20 63 | 64 20 22 4d 61 69 6e 22 |me" of c|d "Main"|
|00006290| 0d 68 69 64 65 20 63 64 | 20 66 6c 64 20 22 73 65 |.hide cd| fld "se|
|000062a0| 6c 6c 65 72 22 20 6f 66 | 20 63 64 20 22 4d 61 69 |ller" of| cd "Mai|
|000062b0| 6e 22 0d 68 69 64 65 20 | 63 64 20 62 74 6e 20 22 |n".hide |cd btn "|
|000062c0| 41 62 6f 72 74 20 41 75 | 63 74 69 6f 6e 22 20 6f |Abort Au|ction" o|
|000062d0| 66 20 63 64 20 22 4d 61 | 69 6e 22 0d 65 6e 64 20 |f cd "Ma|in".end |
|000062e0| 63 6c 65 61 6e 41 75 63 | 74 69 6f 6e 0d 0d 6f 6e |cleanAuc|tion..on|
|000062f0| 20 66 6c 61 73 68 69 74 | 20 73 74 72 2c 69 0d 67 | flashit| str,i.g|
|00006300| 6c 6f 62 61 6c 20 66 6c | 61 73 68 53 70 65 65 64 |lobal fl|ashSpeed|
|00006310| 2c 4a 6f 75 72 6e 61 6c | 2c 6a 66 69 6c 65 0d 69 |,Journal|,jfile.i|
|00006320| 66 20 6e 6f 74 20 28 74 | 68 65 72 65 20 69 73 20 |f not (t|here is |
|00006330| 61 20 63 64 20 66 6c 64 | 20 22 73 74 61 74 75 73 |a cd fld| "status|
|00006340| 6c 69 6e 65 22 29 20 74 | 68 65 6e 20 65 78 69 74 |line") t|hen exit|
|00006350| 20 66 6c 61 73 68 69 74 | 0d 70 75 74 20 73 74 72 | flashit|.put str|
|00006360| 20 69 6e 74 6f 20 63 64 | 20 66 6c 64 20 22 73 74 | into cd| fld "st|
|00006370| 61 74 75 73 6c 69 6e 65 | 22 0d 69 66 20 28 4a 6f |atusline|".if (Jo|
|00006380| 75 72 6e 61 6c 20 69 73 | 20 74 72 75 65 29 20 74 |urnal is| true) t|
|00006390| 68 65 6e 20 77 72 69 74 | 65 20 28 73 74 72 26 52 |hen writ|e (str&R|
|000063a0| 45 54 55 52 4e 29 20 74 | 6f 20 66 69 6c 65 20 6a |ETURN) t|o file j|
|000063b0| 66 69 6c 65 0d 72 65 70 | 65 61 74 20 77 69 74 68 |file.rep|eat with|
|000063c0| 20 6a 20 3d 20 31 20 74 | 6f 20 69 0d 68 69 64 65 | j = 1 t|o i.hide|
|000063d0| 20 63 64 20 66 6c 64 20 | 22 73 74 61 74 75 73 6c | cd fld |"statusl|
|000063e0| 69 6e 65 22 0d 77 61 69 | 74 20 66 6c 61 73 68 53 |ine".wai|t flashS|
|000063f0| 70 65 65 64 0d 73 68 6f | 77 20 63 64 20 66 6c 64 |peed.sho|w cd fld|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.